mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
feat(ai): improve cross-chat evidence retrieval
This commit is contained in:
1 parent
6c07610778
commit
75eff70e23
17 files changed
+689
-53
No files matched your search
@@ -25,6 +25,7 @@ import {
|
||||
getChartCapabilitySkill,
|
||||
getSkillConfigWithBuiltinChart,
|
||||
resolveChartRuntimeForRequest,
|
||||
resolveCrossChatToolResultTokenBudget,
|
||||
runCrossChatAgent,
|
||||
} from '@openchatlab/node-runtime'
|
||||
import { getChatOverview, normalizeBuiltinToolNames } from '@openchatlab/core'
|
||||
@@ -153,7 +154,7 @@ export function createCliRunAgentStream(
|
||||
sessionAdapter: options.sessionAdapter,
|
||||
locale,
|
||||
preprocessConfig: params.preprocessConfig,
|
||||
maxToolResultTokens,
|
||||
maxToolResultTokens: resolveCrossChatToolResultTokenBudget(contextWindow),
|
||||
})
|
||||
await runCrossChatAgent({
|
||||
userMessage,
|
||||
|
||||
Reference in new issue
Block a user