feat: model select support close params;perf: dataset params slider;update doc (#3453)

* feat: model select support close params

* perf: dataset params slider

* update doc

* update doc

* add delete log

* perf: ai config overflow

* test

* test

* test

* delete collection tags

* delete collection tags
This commit is contained in:
Archer
2024-12-23 23:47:33 +08:00
committed by GitHub
parent a7f25994d5
commit f646ef8595
25 changed files with 256 additions and 188 deletions

View File

@@ -46,7 +46,7 @@ export const runToolWithFunctionCall = async (
user,
stream,
workflowStreamResponse,
params: { temperature = 0, maxToken = 4000, aiChatVision }
params: { temperature, maxToken, aiChatVision }
} = workflowProps;
// Interactive

View File

@@ -54,7 +54,7 @@ export const runToolWithPromptCall = async (
user,
stream,
workflowStreamResponse,
params: { temperature = 0, maxToken = 4000, aiChatVision }
params: { temperature, maxToken, aiChatVision }
} = workflowProps;
if (interactiveEntryToolParams) {

View File

@@ -94,7 +94,7 @@ export const runToolWithToolChoice = async (
stream,
user,
workflowStreamResponse,
params: { temperature = 0, maxToken = 4000, aiChatVision }
params: { temperature, maxToken, aiChatVision }
} = workflowProps;
if (maxRunToolTimes <= 0 && response) {

View File

@@ -71,8 +71,8 @@ export const dispatchChatCompletion = async (props: ChatProps): Promise<ChatResp
chatConfig,
params: {
model,
temperature = 0,
maxToken = 4000,
temperature,
maxToken,
history = 6,
quoteQA,
userChatInput,