Fixed skill library
This commit is contained in:
parent
d5131b5d8a
commit
ff46b005d4
|
@ -87,7 +87,6 @@ def teach():
|
|||
interpreter.computer.languages = [l for l in interpreter.computer.languages if l.name.lower() == "python"]
|
||||
interpreter.force_task_completion = True
|
||||
for chunk in interpreter.chat(step, stream=True, display=False):
|
||||
print(chunk)
|
||||
if chunk["role"] == "computer" and "start" not in chunk and "end" not in chunk:
|
||||
chunk_type = chunk["type"]
|
||||
chunk_content = chunk["content"]
|
||||
|
|
Loading…
Reference in New Issue