Skip to content

feat: ai assistant support llm proxy server - #3188

Merged
lixun910 merged 2 commits into
masterfrom
xli-ai-support-proxy-server
Sep 8, 2025
Merged

feat: ai assistant support llm proxy server#3188
lixun910 merged 2 commits into
masterfrom
xli-ai-support-proxy-server

Conversation

@lixun910

Copy link
Copy Markdown
Collaborator
  • ai assistant support llm proxy server
  • update model list

Copilot AI review requested due to automatic review settings August 20, 2025 06:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
lixun910 force-pushed the xli-ai-support-proxy-server branch from 8329274 to b8b5e45 Compare September 7, 2025 23:41
@lixun910
lixun910 requested a review from igorDykhta September 8, 2025 00:26
@lixun910
lixun910 merged commit a6e9cb9 into master Sep 8, 2025
8 checks passed
@lixun910
lixun910 deleted the xli-ai-support-proxy-server branch September 8, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants