15
packages/forge/blocks/togetherAi/auth.ts
Normal file
15
packages/forge/blocks/togetherAi/auth.ts
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Reference in New Issue
Block a user