Restore OpenAI/Gemini providers, rename INNOVATION_ENV#3
Restore OpenAI/Gemini providers, rename INNOVATION_ENV#3
Conversation
…_ENV Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9419dcb303
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| from services.ai_providers.gemini_provider import GeminiAIProvider | ||
| from services.ai_providers.openai_provider import OpenAIProvider |
There was a problem hiding this comment.
Avoid hard-importing optional AI provider SDKs
Importing GeminiAIProvider and OpenAIProvider at module load time makes any import of this factory require google.genai and openai, even when the deployment only uses Anthropic. In the current repo manifests, those SDKs are not declared, so normal startup paths that import this module can fail with ModuleNotFoundError before provider selection logic runs. Please lazy-load optional providers (or add the dependencies) so unused providers cannot break boot.
Useful? React with 👍 / 👎.
…implify AI system - 8 difficulty levels → 3 (easy/medium/hard) with distinct models (Haiku/Sonnet/Opus) - Restore OpenAI + Gemini providers with graceful ImportError handling - Simplify AI personalities (3 characters: ABACUS, DEEP BLUE, OMEGA) - Rename INNOVATION_ENV → SINGULARITY_ENV across codebase - Add openai + google-genai to requirements.txt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
filter_criteria.color treated "tucked_color" as literal string instead of resolving it as a context variable. Archiving under empty stack failed to score the tucked card because no card matched color "tucked_color". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…to archive effect - tuck_card.py → archive_card.py, TuckCard → ArchiveCard everywhere - "Harvest" → "Score", "Harvest pile" → "Score pile" in all card text, UI, backend - Fix info panel key terms: Archive = place at bottom of stack - Astrolabe (S005) changed from "Research a [1]" to "Archive a card from your hand" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Search Trees drew 2 cards but had no way to auto-score the unchosen one. Added store_remainder param to SelectCards — stores unselected eligible cards in a variable so subsequent actions can reference them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
gemini_provider.pyandopenai_provider.pyfrom Innovation source (accidentally stripped in earlier cleanup)INNOVATION_ENV→SINGULARITY_ENVacross all filesTest plan
.env/api/v1/ai/statusreturns 3 available providers🤖 Generated with Claude Code