2
0
Files
bot/packages/forge/blocks/togetherAi/auth.ts
Baptiste Arnaud 648ec08a10 Add Together AI block (#1304)
Closes #1253
2024-03-01 15:33:22 +01:00

16 lines
427 B
TypeScript

import { option, AuthDefinition } from '@typebot.io/forge'
export const auth = {
type: 'encryptedCredentials',
name: 'Together account',
schema: option.object({
apiKey: option.string.layout({
label: 'API key',
isRequired: true,
inputType: 'password',
helperText:
'You can get your API key [here](https://api.together.xyz/settings/api-keys).',
}),
}),
} satisfies AuthDefinition