feat: Add Alibaba API credential and ChatAlibabaTongyi node (#3360)

* 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>
This commit is contained in:
Chirag
2024-10-17 06:24:50 +05:30
committed by GitHub
parent 1d193b4dbc
commit d1adc4fb1c
5 changed files with 120 additions and 0 deletions
@@ -0,0 +1,23 @@
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 }