Merge branch 'main' into feature/Indexing

# Conflicts:
#	pnpm-lock.yaml
This commit is contained in:
Henry
2024-03-15 15:30:37 +08:00
parent 1459190adc
commit fa081acea0
8 changed files with 30021 additions and 30205 deletions
@@ -179,6 +179,11 @@
"name": "modelName",
"type": "options",
"options": [
{
"label": "claude-3-haiku",
"name": "claude-3-haiku-20240307",
"description": "Fastest and most compact model, designed for near-instant responsiveness"
},
{
"label": "claude-3-opus",
"name": "claude-3-opus-20240229",
@@ -190,66 +195,22 @@
"description": "Ideal balance of intelligence and speed for enterprise workloads"
},
{
"label": "claude-2",
"name": "claude-2",
"label": "claude-2.0 (legacy)",
"name": "claude-2.0",
"description": "Claude 2 latest major version, automatically get updates to the model as they are released"
},
{
"label": "claude-2.1",
"label": "claude-2.1 (legacy)",
"name": "claude-2.1",
"description": "Claude 2 latest full version"
},
{
"label": "claude-instant-1",
"name": "claude-instant-1",
"label": "claude-instant-1.2 (legacy)",
"name": "claude-instant-1.2",
"description": "Claude Instant latest major version, automatically get updates to the model as they are released"
},
{
"label": "claude-v1",
"name": "claude-v1"
},
{
"label": "claude-v1-100k",
"name": "claude-v1-100k"
},
{
"label": "claude-v1.0",
"name": "claude-v1.0"
},
{
"label": "claude-v1.2",
"name": "claude-v1.2"
},
{
"label": "claude-v1.3",
"name": "claude-v1.3"
},
{
"label": "claude-v1.3-100k",
"name": "claude-v1.3-100k"
},
{
"label": "claude-instant-v1",
"name": "claude-instant-v1"
},
{
"label": "claude-instant-v1-100k",
"name": "claude-instant-v1-100k"
},
{
"label": "claude-instant-v1.0",
"name": "claude-instant-v1.0"
},
{
"label": "claude-instant-v1.1",
"name": "claude-instant-v1.1"
},
{
"label": "claude-instant-v1.1-100k",
"name": "claude-instant-v1.1-100k"
}
],
"default": "claude-2",
"default": "claude-3-haiku",
"optional": true,
"id": "chatAnthropic_0-input-modelName-options"
},
@@ -310,7 +271,7 @@
],
"inputs": {
"cache": "",
"modelName": "claude-2.1",
"modelName": "claude-3-haiku",
"temperature": 0.9,
"maxTokensToSample": "",
"topP": "",
+1 -1
View File
@@ -1675,7 +1675,7 @@ export class App {
if (!chatflow) return `Chatflow ${chatflowid} not found`
const uploadAllowedNodes = ['llmChain', 'conversationChain', 'mrklAgentChat', 'conversationalAgent']
const uploadProcessingNodes = ['chatOpenAI', 'chatAnthropic']
const uploadProcessingNodes = ['chatOpenAI', 'chatAnthropic', 'awsChatBedrock']
const flowObj = JSON.parse(chatflow.flowData)
const imgUploadSizeAndTypes: IUploadFileSizeAndTypes[] = []