Commit c41a34f0 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

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

See merge request !21
parents ea312b4a 402bc10c
......@@ -402,7 +402,7 @@ function handleAIGenerateAgentSystem(autoConfigInputValue: string) {
fetchCustomEventSource({
path: '/api/rest/agentApplicationInfoRest/createAgentSystem.json',
payload: {
input: personalAppConfigStore.baseInfo.agentSystem || autoConfigInputValue,
input: autoConfigInputValue || personalAppConfigStore.baseInfo.agentSystem,
},
controller: generateAgentSystemController,
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