Go to file
DaiChaoXiong fc6b15a407 fix(providers): capture reasoning from multiple field names and echo both
The replay error ('reasoning_text in thinking mode must be passed back')
persisted because the endpoint emits reasoning under a name other than
reasoning_content — e.g. reasoning_text — which we never captured, so the
thinking never reached the transcript.

- capture reasoning from reasoning_content / reasoning_text / reasoning /
  thinking (first non-empty wins)
- echo the captured reasoning back as BOTH reasoning_content and
  reasoning_text on assistant messages
- FOCUS_DEBUG_FILE=<path> appends every raw network chunk to a file for
  diagnosing provider-protocol mismatches (both providers)
- regression tests: reasoning_text capture, dual-field replay
2026-08-09 21:54:07 +08:00
crates fix(providers): capture reasoning from multiple field names and echo both 2026-08-09 21:54:07 +08:00
docs/architecture INIT 2026-07-16 17:59:16 +08:00
examples INIT 2026-07-16 17:59:16 +08:00
.gitignore docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
AGENTS.md docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
Cargo.lock docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
Cargo.toml docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
README.md chore(workspace): sync manifests, docs and lockfile 2026-08-09 21:00:04 +08:00
rust-toolchain.toml INIT 2026-07-16 17:59:16 +08:00

README.md