Flowise/packages/components/credentials/LitellmApi.credential.ts

24 lines
528 B
TypeScript

import { INodeParams, INodeCredential } from '../src/Interface'
class LitellmApi implements INodeCredential {
label: string
name: string
version: number
inputs: INodeParams[]
constructor() {
this.label = 'Litellm API'
this.name = 'litellmApi'
this.version = 1.0
this.inputs = [
{
label: 'API Key',
name: 'litellmApiKey',
type: 'password'
}
]
}
}
module.exports = { credClass: LitellmApi }