fix(agent): preserve full command output in temp logs

Return only a 10KB preview to the agent so large command results do not overwhelm conversations while keeping the full output available for follow-up reads. Add pytest to the project dependencies to make the regression tests runnable in the project venv.
This commit is contained in:
jxxghp
2026-05-06 20:04:17 +08:00
parent caf615f3bd
commit c762628217
3 changed files with 144 additions and 69 deletions

View File

@@ -89,3 +89,4 @@ openai~=2.33.0
google-genai~=1.74.0
ddgs~=9.10.0
websocket-client~=1.8.0
pytest~=8.4.0