@ -16,14 +16,14 @@ export const createChatCompletion = createAction({
|
||||
}),
|
||||
turnableInto: [
|
||||
{
|
||||
blockType: 'openai',
|
||||
blockId: 'openai',
|
||||
},
|
||||
{
|
||||
blockType: 'open-router',
|
||||
blockId: 'open-router',
|
||||
},
|
||||
{ blockType: 'mistral' },
|
||||
{ blockId: 'mistral' },
|
||||
{
|
||||
blockType: 'anthropic',
|
||||
blockId: 'anthropic',
|
||||
transform: (options) => ({
|
||||
...options,
|
||||
action: 'Create Chat Message',
|
||||
|
@ -3,7 +3,7 @@ import { TogetherAiLogo } from './logo'
|
||||
import { auth } from './auth'
|
||||
import { createChatCompletion } from './actions/createChatCompletion'
|
||||
|
||||
export const togetherAi = createBlock({
|
||||
export const togetherAiBlock = createBlock({
|
||||
id: 'together-ai',
|
||||
name: 'Together',
|
||||
fullName: 'Together AI',
|
||||
|
7
packages/forge/blocks/togetherAi/schemas.ts
Normal file
7
packages/forge/blocks/togetherAi/schemas.ts
Normal file
@ -0,0 +1,7 @@
|
||||
// Do not edit this file manually
|
||||
import { parseBlockCredentials, parseBlockSchema } from '@typebot.io/forge'
|
||||
import { togetherAiBlock } from '.'
|
||||
|
||||
export const togetherAiBlockSchema = parseBlockSchema(togetherAiBlock)
|
||||
export const togetherAiCredentialsSchema =
|
||||
parseBlockCredentials(togetherAiBlock)
|
Reference in New Issue
Block a user