Log a warning for each AI provider registered without an API key so that misconfiguration is surfaced at boot time (not silently on the first API call). Each message names the environment variable to set: ANTHROPIC_API_KEY – Claude GOOGLE_AI_API_KEY – Gemini OPENAI_API_KEY – OpenAI Providers without a key remain registered but are marked unavailable via isAvailable(), preserving backward compatibility. - Add Log::warning() calls in registerProviders() for empty keys - Extend AgenticManagerTest with a dedicated 'API key validation warnings' describe block (7 new test cases) - Update DX-002 in TODO.md as resolved Closes #29 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Concerns | ||
| AgentApiKeyService.php | ||
| AgentDetection.php | ||
| AgenticManager.php | ||
| AgenticProviderInterface.php | ||
| AgenticResponse.php | ||
| AgentSessionService.php | ||
| AgentToolRegistry.php | ||
| ClaudeService.php | ||
| ContentService.php | ||
| GeminiService.php | ||
| IpRestrictionService.php | ||
| OpenAIService.php | ||
| PlanTemplateService.php | ||