Skip to content

Fix chat route missing base URL and Mistral error handling #5665

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

Kerollmops
Copy link
Member

@Kerollmops Kerollmops commented Jun 12, 2025

This PR fixes some bugs with Mistral and other LLM providers where the base URL was not correctly set. It also makes the chat route talk to OpenAI (the default). I also fixed the error handling when Mistral is unhappy.

Fixes #5664

@Kerollmops Kerollmops added this to the v1.15.2 milestone Jun 12, 2025
@Kerollmops Kerollmops requested a review from dureuill June 12, 2025 12:58
@Kerollmops Kerollmops added the no db change The database didn't change label Jun 12, 2025
@Kerollmops Kerollmops changed the title Fix chat route Fix chat route missing base URL and Mistral error handling Jun 12, 2025
dureuill
dureuill previously approved these changes Jun 12, 2025
Copy link
Contributor

@dureuill dureuill left a comment

Choose a reason for hiding this comment

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

👍

@Kerollmops Kerollmops added this pull request to the merge queue Jun 12, 2025
Merged via the queue into release-v1.15.2 with commit 8390006 Jun 12, 2025
11 checks passed
@Kerollmops Kerollmops deleted the fix-chat-route branch June 12, 2025 15:26
@meili-bot meili-bot added the v1.15.2 PRs/issues solved in v1.15.2 label Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no db change The database didn't change v1.15.2 PRs/issues solved in v1.15.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mistral Chat completion requests being mistakenly forwarded to OpenAI
3 participants