Commit eb7b0ee5 authored by alex yao's avatar alex yao

fix: 角色指令优化没有对原本的指令进行优化 --bug = 1010603

parent f1f5ed94
...@@ -235,7 +235,7 @@ public class AgentApplicationServiceImpl implements AgentApplicationService { ...@@ -235,7 +235,7 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
systemMessage.setContent(configEntity.getConfigSystem()); systemMessage.setContent(configEntity.getConfigSystem());
systemMessage.setRole(LLMRoleEnum.SYSTEM.getRole()); systemMessage.setRole(LLMRoleEnum.SYSTEM.getRole());
String content = "[\" + input + \"]"; String content = "[\"" + input + "\"]";
if (StringUtils.isNotBlank(optimizationSuggestions)) { if (StringUtils.isNotBlank(optimizationSuggestions)) {
content = content + "\n 优化建议:[" + optimizationSuggestions + "]"; content = content + "\n 优化建议:[" + optimizationSuggestions + "]";
} }
......
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