mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 04:20:15 +08:00
The tool-schema rejection log exists so a user can attach `deeptutor.jsonl` to a bug report. `error_text()` returns the whole body, and some providers echo the rejected request back — the tool schemas, sometimes the messages — which would put a copy of the conversation into a file headed for a public issue. `logged_error_text()` caps it and says how much it dropped. The parameter a provider objects to is always near the front, so the diagnostic keeps working; the compat predicates keep reading the unbounded text.