We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa1741 commit d34466aCopy full SHA for d34466a
m5stack/libs/module/llm.py
@@ -28,7 +28,7 @@ def get_response(self, timeout=5000):
28
if data:
29
response += data.decode("utf-8")
30
if "\n" in response:
31
- break
+ return {"time_out": False, "msg": response}
32
start_time = time.ticks_ms()
33
except Exception:
34
pass
0 commit comments