-
Notifications
You must be signed in to change notification settings - Fork 158
Refactor AI Providers #653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…el settings configurable in UI and via environment, and allow naming of providers added via the UI
… logic. Remove unnecessary mappings and ensure API keys are consistently handled. Maintain current provider selection more efficiently on updates.
…ixed. remove duplicate providers.
An error occured. This error may be due to rate limits. If this error persists, please email us. |
Hey, leave a @claude-review comment below and I'll do a code review! |
PR Review: Refactor AI ProvidersThis PR successfully refactors the AI provider system. Overall excellent work with clean architecture. Critical Issues1. API Key Exposure Risk (HIGH PRIORITY)
2. Ignored JSON Marshal Errors (MEDIUM)
3. Missing License Header (MEDIUM)
Medium Issues4. Provider Persistence Missing
5. Potential Race Condition
6. HTTP Resolver Changes
Strengths
RecommendationApprove with Changes - Solid refactor but address API key exposure before merge. Priority:
Excellent architecture improvements overall! |
goal is to make it easier to extend providers, add settings for models via the UI and env variables, and prevent pre-defined providers from being deleted