bugfix
This commit is contained in:
parent
dcaddeae5f
commit
bf909d2b62
@ -248,7 +248,7 @@ class IndustrialSkillEngine:
|
||||
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": 找到的命令, "params": 找到的参数字典}} 或 ANSWER: <text> 或 REPLY: <question>')
|
||||
output = {
|
||||
"status": "PROCESSING",
|
||||
"hint": f"决策完成:{decision=}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user