fix(providers): fetch project-level LiteLLM integrations from /v1/settings/user/available#1
Open
AntonYeromin wants to merge 4 commits into
Open
fix(providers): fetch project-level LiteLLM integrations from /v1/settings/user/available#1AntonYeromin wants to merge 4 commits into
AntonYeromin wants to merge 4 commits into
Conversation
…tings/user/available endpoint
…ings/user/available call GET /v1/settings/user/available returns both user-level and project-level integrations in one call — no pagination, no merging required. Remove paginated USER_SETTINGS loop, the secondary available-endpoint block, unused logger/sanitizeLogArgs imports, and the endpointPath parameter from fetchCodeMieIntegrations. Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
Replaced with USER_SETTINGS_AVAILABLE in CODEMIE_ENDPOINTS and updated the integration test assertion accordingly. Generated with AI Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes EPMCDME-10657: project-level LiteLLM integrations (
setting_type=PROJECT) were not returned byGET /v1/settings/user, which only returns user-level settings. CLI always reported "No LiteLLM integrations configured for project" even when a project-level integration existed and worked fine in the UI.Changes
USER_SETTINGS_AVAILABLEendpoint constant for/v1/settings/user/availableLiteLLMfilter (consistent with primary endpoint)logger.debug()+sanitizeLogArgs()for error logging instead of rawconsole.logCLAUDE_SUPPORTED_VERSION→2.1.56,CLAUDE_MINIMUM_SUPPORTED_VERSION→2.1.41Impact
Users whose LiteLLM integrations are configured at the project level will now see them listed and available for selection in the CLI, matching the UI behavior.
Checklist