mirror of https://github.com/aliasrobotics/cai.git
Detect and warn when model returns empty content or sentinel tokens like <|endoftext|> without tool calls or refusals. Changes: - Add _warn_empty_response() helper method (10 lines) - Call helper in get_response() and stream_response() - Add 3 unit tests Non-breaking: warning only, no change to control flow or return types. |
||
|---|---|---|
| .. | ||
| test_auto_compact.py | ||
| test_openai_chatcompletions.py | ||
| test_openai_chatcompletions_converter.py | ||
| test_openai_chatcompletions_stream.py | ||
| test_openai_responses_converter.py | ||
| test_responses.py | ||
| test_run_config.py | ||
| test_run_step_execution.py | ||
| test_run_step_processing.py | ||