Repository navigation
fix(test): drop the retired OpenAI provider from the system-prompt test - #4183
Conversation
#3899 deleted src/gaia/llm/providers/openai_provider.py but left test_chat_system_prompt_owner.py importing it. The import is at function scope and runs for both parameters, so BOTH cases fail, not just the openai one — main's Unit Tests lane has been red on py3.10, py3.12 and macOS since. Keeps the Claude case, which is the only cloud provider left, and clears the same retirement's leftover file references in CLAUDE.md and three agent docs.
|
Verdict: Approve This unbreaks The doc cleanup is complete — the only surviving mention of the old provider anywhere in the tree is in a historical release note, which correctly stays as-is. No blocking issues. Real-world evidenceN/A — tests and docs only; no CLI, API, MCP or Agent UI surface changes, so there is nothing for a live run to show. No evidence bundle was produced for this PR, which is expected here. One caveat on my own verification: 🔍 Technical detailsVerified statically
🟢 Minor — stale attribute on the hand-built provider (
(that replaces the Strengths
|
main's Unit Tests lane is red on py3.10, py3.12 and macOS, and has been since #3899 merged. That PR retired the OpenAI provider and deletedsrc/gaia/llm/providers/openai_provider.py, but left a test importing it. The import sits inside the test function and runs for both parameters, so the Claude case fails too — it is two failures, not one. Every PR opened againstmainsince then inherits a red lane that has nothing to do with its own change.This keeps the Claude case (the only cloud provider left) and drops the OpenAI half, and clears the same retirement's leftover file references in
CLAUDE.mdand three agent docs so they stop pointing at a file that no longer exists.Test plan
python -m pytest tests/unit/test_chat_system_prompt_owner.py -q— 15 pass. Onorigin/mainthe same command gives 2 failed / 14 passed:python util/lint.py --black --isort— pass.grep -rn openai_provider CLAUDE.md .claude/agents/ tests/ src/— no remaining references.