bugfix
This commit is contained in:
parent
dc183da3e2
commit
dcaddeae5f
@ -248,7 +248,7 @@ class IndustrialSkillEngine:
|
|||||||
context = await self._get_expanded_context(skill_name, user_prompt, context=context)
|
context = await self._get_expanded_context(skill_name, user_prompt, context=context)
|
||||||
|
|
||||||
# 决策:是直接回答还是执行脚本
|
# 决策:是直接回答还是执行脚本
|
||||||
decision = await self.llm(f"上下文: {context}\n问题: {user_prompt}\n决定动作:EXEC: {"cmd": found_cmd, "params": found_parameters_dict} 或 ANSWER: <text> 或 REPLY: <question>")
|
decision = await self.llm(f"上下文: {context}\n问题: {user_prompt}\n决定动作:EXEC: {{"cmd": found_cmd, "params": found_parameters_dict}} 或 ANSWER: <text> 或 REPLY: <question>")
|
||||||
output = {
|
output = {
|
||||||
"status": "PROCESSING",
|
"status": "PROCESSING",
|
||||||
"hint": f"决策完成:{decision=}"
|
"hint": f"决策完成:{decision=}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user