Commit 402bc10c authored by nick zheng's avatar nick zheng

fix: 创建应用时AI自动配置生成的角色指令和实际输入要求不符

parent 2c5c2c37
...@@ -402,7 +402,7 @@ function handleAIGenerateAgentSystem(autoConfigInputValue: string) { ...@@ -402,7 +402,7 @@ function handleAIGenerateAgentSystem(autoConfigInputValue: string) {
fetchCustomEventSource({ fetchCustomEventSource({
path: '/api/rest/agentApplicationInfoRest/createAgentSystem.json', path: '/api/rest/agentApplicationInfoRest/createAgentSystem.json',
payload: { payload: {
input: personalAppConfigStore.baseInfo.agentSystem || autoConfigInputValue, input: autoConfigInputValue || personalAppConfigStore.baseInfo.agentSystem,
}, },
controller: generateAgentSystemController, controller: generateAgentSystemController,
onMessage: (data: any) => { onMessage: (data: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment