Files
DeepTutor/tests
AleFlyX b1ea6c02fb fix(llm): name a reason when a local SDK turn fails with no text
The Claude Code and CodeBuddy providers report failure as
finish_reason="error" with the reason carried in the result message's
text. The CLI only fills that text when the turn produced assistant
output, so a turn that dies on a rejected tool call or on max_turns ended
empty and reached the operator as a bare "Error calling Claude Code: "
with nothing after the colon (#2539).

- sdk_bridge: render a blank result through a new _result_detail(), which
  keeps the CLI's own wording when present, maps the SDK's subtype
  (error_max_turns / error_during_execution / error_max_budget_usd) to a
  sentence, and never returns an empty string.
- claude_code / codebuddy providers: _friendly_error() names the exception
  type for a blank exception instead of echoing nothing.

Both SDK backends share the bridge, so one fix covers both.
2026-11-09 16:20:28 +08:00
..
2026-11-06 01:56:26 +08:00
2026-11-06 01:56:40 +08:00
2026-11-06 01:56:24 +08:00
2026-11-06 01:56:24 +08:00
2026-11-06 01:56:22 +08:00
2026-11-06 01:56:39 +08:00
2026-11-06 01:56:22 +08:00