2
0

Add "turn into" option in block context menu

Closes #1302
This commit is contained in:
Baptiste Arnaud
2024-03-05 15:46:28 +01:00
parent 84d6c594af
commit 2fb379b102
16 changed files with 244 additions and 13 deletions

View File

@ -12,6 +12,15 @@ import { ModelsResponse } from '../types'
export const createChatCompletion = createAction({
name: 'Create chat completion',
auth,
turnableInto: [
{
blockType: 'openai',
},
{
blockType: 'together-ai',
},
{ blockType: 'mistral' },
],
options: parseChatCompletionOptions({
modelFetchId: 'fetchModels',
}),