* fix(llm): force temperature 1.0 for gpt-6 and treat reasoning_effort+tools rejection as tool-schema unsupported
* fix(llm): drop reasoning_effort instead of tools when combined request is rejected
---------
Co-authored-by: Shaikh Fardin <152140625+Fardin7798@users.noreply.github.com>
Co-authored-by: OrdoAbChao7 <2369980241@qq.com>
is_response_format_unsupported gates every marker behind an explicit
"response_format" mention. But its own docstring lists DashScope's
rejection — "'json_object' is not supported by this model" — which names
the value, not the parameter, so the guard returned False and the
graceful drop-response_format-and-retry never fired; the JSON call hard-
failed instead.
Let the value-specific markers (json_object, json_schema, the
response_format.type messages) stand on their own, and keep the generic
"unsupported"/"not valid" markers gated behind the response_format
mention so an unrelated unsupported-parameter error (e.g. stream_options)
still does not strip response_format.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Zhipu/GLM rejects non-text content blocks with error 1210 and a Chinese
message ('messages.content.type 参数非法,取值范围 [\'text\']'). The dotted
path and Chinese text match none of the English markers in
is_image_input_unsupported(), so the agent loop's degrade-to-text retry
never triggers and chat with a PDF attachment hard-fails with the raw
400. Add 'content.type' and '取值范围' markers so the existing fallback
fires.
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.
Release notes: assets/releases/ver1-6-5.md
Ship lighter isolated runtimes, richer Books and Mastery flows,
Reading/session polish, and explicit model API capabilities.
Release notes: assets/releases/ver1-6-4.md
The chat loop silently strips tools whenever a provider 400 mentions
the word tool. Narrow the matcher to schema/parameter rejection phrases
so unrelated errors no longer disable tool calling for the turn.
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.