mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
rename Api to API
This commit is contained in:
+6
-6
@@ -4,7 +4,7 @@ import { JsonSpec, JsonObject } from 'langchain/tools'
|
|||||||
import { BaseLanguageModel } from 'langchain/base_language'
|
import { BaseLanguageModel } from 'langchain/base_language'
|
||||||
import { load } from 'js-yaml'
|
import { load } from 'js-yaml'
|
||||||
|
|
||||||
class OpenApiToolkit_Tools implements INode {
|
class OpenAPIToolkit_Tools implements INode {
|
||||||
label: string
|
label: string
|
||||||
name: string
|
name: string
|
||||||
description: string
|
description: string
|
||||||
@@ -15,15 +15,15 @@ class OpenApiToolkit_Tools implements INode {
|
|||||||
inputs: INodeParams[]
|
inputs: INodeParams[]
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.label = 'OpenApi Toolkit'
|
this.label = 'OpenAPI Toolkit'
|
||||||
this.name = 'openApiToolkit'
|
this.name = 'openAPIToolkit'
|
||||||
this.type = 'OpenApiToolkit'
|
this.type = 'OpenAPIToolkit'
|
||||||
this.icon = 'openai.png'
|
this.icon = 'openai.png'
|
||||||
this.category = 'Tools'
|
this.category = 'Tools'
|
||||||
this.description = 'Load OpenAPI specification'
|
this.description = 'Load OpenAPI specification'
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'OpenAI Api Key',
|
label: 'OpenAI API Key',
|
||||||
name: 'openAIApiKey',
|
name: 'openAIApiKey',
|
||||||
type: 'password'
|
type: 'password'
|
||||||
},
|
},
|
||||||
@@ -66,4 +66,4 @@ class OpenApiToolkit_Tools implements INode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { nodeClass: OpenApiToolkit_Tools }
|
module.exports = { nodeClass: OpenAPIToolkit_Tools }
|
||||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Reference in New Issue
Block a user