Add OpenAI and Anthropic provider metadata
Problem
OpenAI and Anthropic are partially integrated in the codebase but are missing provider metadata that other supported providers (Groq, Google, Mistral, OpenRouter, Ollama) already have.
Currently:
- ✅ Both providers are listed in allowed provider IDs (
packages/spec/src/config.ts) - ✅ SDK dependencies are installed
- ✅ Basic implementation exists in the processor
- ❌ Missing from
provider-details.ts(no metadata like API key env vars, docs links, etc.)
This creates an inconsistency where these providers work but lack proper error messaging, user guidance, and configuration validation.
Proposed Solution
Add complete provider metadata entries for both OpenAI and Anthropic in packages/compiler/src/lib/lcp/api/provider-details.ts, including:
Benefits
- ✅ Consistent provider integration across the codebase
- ✅ Proper error messages showing correct environment variable names
- ✅ User guidance with links to get API keys
- ✅ Complete provider discovery and validation
- ✅ Better troubleshooting documentation
Implementation
- Update
packages/compiler/src/lib/lcp/api/provider-details.ts - Update corresponding test file to include both providers
- All existing tests continue to pass
Additional Context
This is a small, surgical change that completes the integration of two already-supported providers. No breaking changes or new dependencies required.
Hi, I would love to work on this!
hi i would love to fix this issue
hi i would love to fix this issue
Assigned to @ishwarthecodddr as he was the first, being the author
Hello @maxprilutskiy sir,
I’ve completed the work related to this issue and submitted PR #1299 To allow the automated checks and review process to proceed, could you please assign this issue to me? so that the PR can proceed with reviews and workflow approvals?
Thank you for your time and support.