Skip to content

fix: preserve tool-turn context and harden issue follow-ups#16952

Open
aideautomation wants to merge 4 commits into
NousResearch:mainfrom
aideautomation:fix/openwebui-tool-memory-p1
Open

fix: preserve tool-turn context and harden issue follow-ups#16952
aideautomation wants to merge 4 commits into
NousResearch:mainfrom
aideautomation:fix/openwebui-tool-memory-p1

Conversation

@aideautomation

Copy link
Copy Markdown

Summary

  • fix nested wrapped API error body extraction so transient 402/JSON decode paths keep the real cause context
  • preserve assistant tool-call context in the API server Open WebUI history conversion path
  • harden tool registry/todo parsing against normalizable tool-name drift and stringified todo payloads
  • add the AIDE Teams/Telegram communication planning document

Test Plan

  • scripts/run_tests.sh tests/hermes_cli/test_profiles.py -q
  • scripts/run_tests.sh tests/agent/test_error_classifier.py tests/gateway/test_api_server.py tests/run_agent/test_run_agent.py tests/tools/test_registry.py tests/tools/test_todo_tool.py -q
  • curl -fsS http://localhost:8644/health

Related Issues

Notes

  • related upstream issue states were checked before finalizing this PR body: all listed issues are currently OPEN
  • gateway service was normalized separately on the host and is healthy at port 8644

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/agent Core agent loop, run_agent.py, prompt builder comp/gateway Gateway runner, session dispatch, delivery comp/tools Tool registry, model_tools, toolsets labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent loop, run_agent.py, prompt builder comp/gateway Gateway runner, session dispatch, delivery comp/tools Tool registry, model_tools, toolsets P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

2 participants