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

@ -14,6 +14,15 @@ export const createChatCompletion = createAction({
modelHelperText:
'You can find the list of all the models available [here](https://docs.together.ai/docs/inference-models#chat-models). Copy the model string for API.',
}),
turnableInto: [
{
blockType: 'openai',
},
{
blockType: 'open-router',
},
{ blockType: 'mistral' },
],
getSetVariableIds: getChatCompletionSetVarIds,
run: {
server: (params) =>