mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 01:01:11 +03:00
93f3a5d98a
* Feat: Add deepseek models to components configuration * Feat: Implement Deepseek API integration with chat models and add SVG icon * Refactor: Remove image input options and add missing baseOptions in deepseek chat node
24 lines
546 B
TypeScript
24 lines
546 B
TypeScript
import { INodeCredential, INodeParams } from '../src/Interface'
|
|
|
|
class DeepseekApi implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'DeepseekAI API'
|
|
this.name = 'deepseekApi'
|
|
this.version = 1.0
|
|
this.inputs = [
|
|
{
|
|
label: 'DeepseekAI API Key',
|
|
name: 'deepseekApiKey',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: DeepseekApi }
|