fix: 修复上次提交中的错误和删除测试代码
This commit is contained in:
2
utils.py
2
utils.py
@@ -436,7 +436,7 @@ class LLM:
|
||||
输入:灯光闪烁 3 次同时蜂鸣器也叫 3 次
|
||||
输出:[{"index":0,"action":"beep_light_counts","time": 3}]
|
||||
'''
|
||||
self.prompt += '''请根据上面的示例,解析该任务文本,并返回相应的 JSON 字段。确保 JSON 中包含了键 index action 和 time 以及相应的值'''
|
||||
self.prompt += '''请根据上面的示例,解析该任务文本,并返回相应的 JSON 字段。确保 JSON 中包含了键 index action 和 time 以及相应的值。不要附带其他的解释和注释,只需要 JSON 字段。'''
|
||||
self.messages = []
|
||||
self.resp = None
|
||||
worker = threading.Thread(target=self.reset, daemon=True)
|
||||
|
||||
Reference in New Issue
Block a user