feat: ai assistant support llm proxy server - #3188
Merged
Merged
Conversation
lixun910
commented
Aug 20, 2025
Collaborator
- ai assistant support llm proxy server
- update model list
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for LLM proxy servers to the AI assistant by introducing provider-specific default base URLs and updating the model list. The changes enable dynamic switching between different AI providers while properly configuring their respective API endpoints.
- Introduces provider-specific default base URLs for multiple AI providers (OpenAI, Anthropic, Google, etc.)
- Updates the AI model configuration to use dynamic base URLs instead of hardcoded Ollama endpoints
- Generalizes the UI to support multiple providers instead of being Ollama-specific
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/ai-assistant/src/config/models.ts | Adds provider default base URLs mapping and updates model lists with new versions |
| src/ai-assistant/src/reducers/index.ts | Updates initial configuration to use dynamic base URL from provider mapping |
| src/ai-assistant/src/localization.ts | Removes Ollama-specific language and makes base URL labels generic |
| src/ai-assistant/src/components/ai-assistant-config.tsx | Implements dynamic base URL switching and generalizes UI for all providers |
| src/ai-assistant/package.json | Updates @openassistant package versions from 0.5.13 to 0.5.17 |
| examples/demo-app/package.json | Updates @openassistant package versions from 0.5.13 to 0.5.17 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
lixun910
force-pushed
the
xli-ai-support-proxy-server
branch
from
September 7, 2025 23:41
8329274 to
b8b5e45
Compare
igorDykhta
approved these changes
Sep 8, 2025
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.