Spaces:
Sleeping
Sleeping
|
Download plugins/_context_doctor/README.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_context_doctor/README.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/plugins/_context_doctor/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_context_doctor/README.md
458 Bytes
| # 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. | |