focus/crates/focus-providers/tests
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
..
common feat(providers): rewrite Anthropic and OpenAI providers 2026-08-09 20:59:49 +08:00
agent_integration.rs feat(providers): rewrite Anthropic and OpenAI providers 2026-08-09 20:59:49 +08:00
anthropic_tests.rs refactor(test): move all unit tests from src/ into tests/<module>_tests.rs 2026-08-09 21:09:01 +08:00
compaction_integration.rs feat(providers): rewrite Anthropic and OpenAI providers 2026-08-09 20:59:49 +08:00
config_tests.rs refactor(test): move all unit tests from src/ into tests/<module>_tests.rs 2026-08-09 21:09:01 +08:00
openai_tests.rs fix(providers): capture reasoning from multiple field names and echo both 2026-08-09 21:54:07 +08:00