agent-zero/plugins/_context_doctor
linkliti 77e5515261 Revert escalating reasoning to thoughts kvp
Revert the stream-end copy of reasoning into thoughts, the context-doctor preservation of thoughts through log refresh, the related regression tests, and the AGENTS.md wording. thoughts is no longer auto-populated from reasoning when absent.
2026-09-03 03:37:59 +03:00
..
extensions/python Context Doctor polish 2026-08-26 13:14:12 +00:00
helpers Revert escalating reasoning to thoughts kvp 2026-09-03 03:37:59 +03:00
tests Revert escalating reasoning to thoughts kvp 2026-09-03 03:37:59 +03:00
webui Add Context Doctor plugin 2026-08-24 19:51:30 +03:00
AGENTS.md Revert escalating reasoning to thoughts kvp 2026-09-03 03:37:59 +03:00
default_config.yaml Add Context Doctor plugin 2026-08-24 19:51:30 +03:00
hooks.py Install Context Doctor dependency after self-update 2026-08-25 23:40:31 +02:00
plugin.yaml Add Context Doctor plugin 2026-08-24 19:51:30 +03:00
README.md Context Doctor polish 2026-08-26 13:14:12 +00:00

Context Doctor

Repairs model tool call JSON before sending it to history and tool processing.

Behavior

  • Uses json_repair after native parsing has completed.
  • Accepts only complete Agent Zero tool calls (tool_name and object tool_args).
  • Stores repaired tool calls as compact JSON; log kvps retain streamed reasoning and add transformed fields.
  • Optionally replaces XML-like output with {} in cases where model uses native XML tool calls.