mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 01:01:11 +03:00
d1adc4fb1c
* feat: Add Alibaba API credential and ChatAlibabaTongyi node * lint fix * Add chatAlibabaTongyi model to models.json and chat models --------- Co-authored-by: Henry Heng <henryheng@flowiseai.com>
24 lines
536 B
TypeScript
24 lines
536 B
TypeScript
import { INodeParams, INodeCredential } from '../src/Interface'
|
|
|
|
class AlibabaApi implements INodeCredential {
|
|
label: string
|
|
name: string
|
|
version: number
|
|
inputs: INodeParams[]
|
|
|
|
constructor() {
|
|
this.label = 'Alibaba API'
|
|
this.name = 'AlibabaApi'
|
|
this.version = 1.0
|
|
this.inputs = [
|
|
{
|
|
label: 'Alibaba Api Key',
|
|
name: 'alibabaApiKey',
|
|
type: 'password'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = { credClass: AlibabaApi }
|