Skip to content

Commit 02e60f7

Browse files
committed
Explain: Improve error reporting in Amp backend.
1 parent 346d008 commit 02e60f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explain/amp_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async def ask(self, question: str, port: int, tools: list[str]) -> str:
126126
assert amp_start_thread.stdout and amp_start_thread.stderr
127127

128128
stdout_bytes, stderr_bytes = await amp_start_thread.communicate()
129-
assert not stderr_bytes
129+
assert not stderr_bytes, stderr_bytes
130130

131131
self._thread_id = stdout_bytes.decode("utf-8").rstrip()
132132

0 commit comments

Comments
 (0)