Skip to content

Commit

Permalink
Merge pull request FlowiseAI#1303 from FlowiseAI/feature/OpenAI-Assis…
Browse files Browse the repository at this point in the history
…tant

Feature/Update open ai assistant version
  • Loading branch information
HenryHengZJ authored Nov 28, 2023
2 parents 69c98d5 + f101c72 commit 62b6323
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OpenAIAssistant_Agents implements INode {
constructor() {
this.label = 'OpenAI Assistant'
this.name = 'openAIAssistant'
this.version = 1.0
this.version = 2.0
this.type = 'OpenAIAssistant'
this.category = 'Agents'
this.icon = 'openai.png'
Expand Down
11 changes: 10 additions & 1 deletion packages/server/marketplaces/chatflows/OpenAI Assistant.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"data": {
"id": "openAIAssistant_0",
"label": "OpenAI Assistant",
"version": 1,
"version": 2,
"name": "openAIAssistant",
"type": "OpenAIAssistant",
"baseClasses": ["OpenAIAssistant"],
Expand All @@ -27,6 +27,15 @@
"type": "asyncOptions",
"loadMethod": "listAssistants",
"id": "openAIAssistant_0-input-selectedAssistant-asyncOptions"
},
{
"label": "Disable File Download",
"name": "disableFileDownload",
"type": "boolean",
"description": "Messages can contain text, images, or files. In some cases, you may want to prevent others from downloading the files. Learn more from OpenAI File Annotation <a target=\"_blank\" href=\"https://platform.openai.com/docs/assistants/how-it-works/managing-threads-and-messages\">docs</a>",
"optional": true,
"additionalParams": true,
"id": "openAIAssistant_0-input-disableFileDownload-boolean"
}
],
"inputAnchors": [
Expand Down

0 comments on commit 62b6323

Please sign in to comment.