focus/crates/focus-providers/tests
DaiChaoXiong 6257f4f6b8 test(providers): real-endpoint-log regressions for Responses reasoning
Based on the user's actual deepseek-v4-flash debug log (Responses protocol):

- real_log_captures_reasoning_and_tools: replays turn 1 of the real SSE
  (reasoning item + reasoning_text.delta + two function calls) and asserts the
  Done message is [Thinking, ToolCall, ToolCall] with usage mapped
  (input 850 / output 157 / cache-read 768)
- agent_multi_turn_replays_reasoning: drives a 3-turn agent over the real
  protocol (turn 1 + turn 2 from the log, plus a terminating text turn),
  asserting thinking lands in the transcript and the second request's replay
  carries a reasoning item with the captured text and matching call ids

MockTransport gains requests() to inspect all recorded requests.
2026-08-09 22:04:11 +08:00
..
common test(providers): real-endpoint-log regressions for Responses reasoning 2026-08-09 22:04:11 +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 test(providers): real-endpoint-log regressions for Responses reasoning 2026-08-09 22:04:11 +08:00