Skip to content

Commit 1afb813

Browse files
HenryHengZJtenuar
authored andcommitted
Chore/Claude 3.7 (FlowiseAI#4075)
* add gemini flash * add gemin flash to vertex * add gemin-1.5-flash-preview to vertex * add azure gpt 4o * add claude 3.5 sonnet * add mistral nemo * add groq llama3.1 * add gpt4o-mini to azure * o1 mini * add groq llama 3.2 * update anthropic models * add 3.5 haiku * update vertex embedding models * add azure o1 models * add o3 mini * add wolframalpha tool * Update pnpm-lock.yaml
1 parent a2117e6 commit 1afb813

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

packages/api-documentation/src/yml/swagger.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -778,11 +778,11 @@ paths:
778778
'200':
779779
description: Successfully execute refresh operation
780780
content:
781-
application/json:
782-
schema:
783-
type: array
784-
items:
785-
$ref: '#/components/schemas/VectorUpsertResponse'
781+
application/json:
782+
schema:
783+
type: array
784+
items:
785+
$ref: '#/components/schemas/VectorUpsertResponse'
786786

787787
'400':
788788
description: Invalid request body
@@ -1036,11 +1036,11 @@ paths:
10361036
required: true
10371037
responses:
10381038
'200':
1039-
description: Feedback successfully created
1040-
content:
1041-
application/json:
1042-
schema:
1043-
$ref: '#/components/schemas/ChatMessageFeedback'
1039+
description: Feedback successfully created
1040+
content:
1041+
application/json:
1042+
schema:
1043+
$ref: '#/components/schemas/ChatMessageFeedback'
10441044
'400':
10451045
description: Invalid input provided
10461046
'500':

packages/components/models.json

+5
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,11 @@
320320
{
321321
"name": "chatAnthropic",
322322
"models": [
323+
{
324+
"label": "claude-3-7-sonnet-latest",
325+
"name": "claude-3-7-sonnet-latest",
326+
"description": "Most recent snapshot version of Claude Sonnet 3.7 model - hybrid reasoning model"
327+
},
323328
{
324329
"label": "claude-3-5-haiku-latest",
325330
"name": "claude-3-5-haiku-latest",

packages/components/nodes/chatmodels/ChatOpenAI/ChatOpenAI.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class ChatOpenAI_ChatModels implements INode {
241241
streaming: streaming ?? true
242242
}
243243

244-
if (modelName === 'o3-mini') {
244+
if (modelName.includes('o3')) {
245245
delete obj.temperature
246246
}
247247
if ((modelName.includes('o1') || modelName.includes('o3')) && reasoningEffort) {

pnpm-lock.yaml

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)