Skip to content

fix: version updates#665

Merged
jamescalam merged 3 commits into
mainfrom
james/version-updates
May 23, 2026
Merged

fix: version updates#665
jamescalam merged 3 commits into
mainfrom
james/version-updates

Conversation

@jamescalam

@jamescalam jamescalam commented May 23, 2026

Copy link
Copy Markdown
Member

PR Type

Bug fix, Enhancement


Description

  • Update Mistral SDK integration

  • Bump package version to 0.1.15

  • Raise dependency security minimums


Diagram Walkthrough

flowchart LR
  deps["Dependency updates"]
  mistral["Mistral SDK v1 client"]
  llm["MistralAILLM calls"]
  release["Package version 0.1.15"]
  deps -- "enables" --> mistral
  mistral -- "updates" --> llm
  deps -- "ships with" --> release
Loading

File Walkthrough

Relevant files
Bug fix
mistral.py
Migrate LLM wrapper to Mistral v1 SDK                                       

semantic_router/llms/mistral.py

  • Replaces legacy MistralClient import with Mistral.
  • Removes stored mistralai module private attribute.
  • Sends chat messages as role/content dictionaries.
  • Calls chat completions via client.chat.complete.
+7/-12   
Dependencies
pyproject.toml
Update release and dependency constraints                               

pyproject.toml

  • Bumps project version from 0.1.14 to 0.1.15.
  • Raises litellm minimum version to 1.83.7.
  • Adds CVE reference comment for litellm minimum.
  • Updates optional mistralai range to >=1.0.0,<2.0.0.
+4/-3     

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@jamescalam
jamescalam merged commit df9722a into main May 23, 2026
6 checks passed
@jamescalam
jamescalam deleted the james/version-updates branch May 23, 2026 12:52
@jamescalam

Copy link
Copy Markdown
Member Author

addresses litellm security issues - we'll be working on migrating from our litellm dep to pure openai-compat API endpoints in future PRs #659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant