Skip to content

UN-2453 [FIX] Fixed MistralAI failing test connection for some models#1440

Merged
athul-rs merged 3 commits intomainfrom
deps/UN-2453-mistral-fix
Jul 16, 2025
Merged

UN-2453 [FIX] Fixed MistralAI failing test connection for some models#1440
athul-rs merged 3 commits intomainfrom
deps/UN-2453-mistral-fix

Conversation

@pk-zipstack
Copy link
Contributor

What

  • Bump unstract-sdk version to 0.76.1

Why

  • This version bump fixes the issue where models like mistral-medium and mistral-large were failing connections.

How

  • Bumped up unstract-sdk version to 0.76.1

Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)

Database Migrations

Env Config

Relevant Docs

Related Issues or PRs

Dependencies Versions

Notes on Testing

Screenshots

Checklist

I have read and understood the Contribution Guidelines.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 16, 2025

Summary by CodeRabbit

  • Chores
    • Updated the version of the unstract-sdk dependency to ~0.76.1 across multiple components and services.

Walkthrough

The changes update the version constraint for the unstract-sdk dependency from ~0.76.0 to ~0.76.1 across multiple project configuration and requirements files. No other dependencies or configuration settings were modified.

Changes

Files Change Summary
backend/pyproject.toml
prompt-service/pyproject.toml
unstract/tool-registry/pyproject.toml
unstract/filesystem/pyproject.toml
platform-service/pyproject.toml
Updated unstract-sdk dependency version from ~0.76.0 to ~0.76.1
pyproject.toml Updated unstract-sdk version in hook-check-django-migrations group from ~0.76.0 to ~0.76.1
tools/classifier/requirements.txt
tools/text_extractor/requirements.txt
Updated unstract-sdk[aws] version from ~0.76.0 to ~0.76.1

Sequence Diagram(s)

No sequence diagram generated as the changes are limited to dependency version updates and do not affect control flow or feature logic.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@chandrasekharan-zipstack chandrasekharan-zipstack left a comment

Choose a reason for hiding this comment

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

LGTM - I think you might want to change the PR title prefix to FIX instead for it to appear in the changelogs correctly. Do check with @ritwik-g

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (3)
tools/classifier/requirements.txt (1)

7-7: Same concern as noted in prompt-service/pyproject.toml – please verify 0.76.1 resolves and locks are updated.

tools/text_extractor/requirements.txt (1)

7-7: Same concern as noted in prompt-service/pyproject.toml – please verify 0.76.1 resolves and locks are updated.

unstract/tool-registry/pyproject.toml (1)

14-15: Same concern as noted in prompt-service/pyproject.toml – please verify 0.76.1 resolves and locks are updated.

🧹 Nitpick comments (2)
backend/pyproject.toml (1)

38-42: Avoid version drift across >5 manifests

Bumping the same library in many files is error-prone. Consider moving the version string to a central place (workspace-wide tool.poetry.group, a Make/CI variable, or a shared constraints.txt) so that the next upgrade is single-touch.

platform-service/pyproject.toml (1)

18-18: Remove stale inline comment

# Add version is outdated and no longer meaningful now that the line has carried a version pin for several releases. Dropping it will avoid confusion.

-    "unstract-sdk[gcs, azure, aws]~=0.76.1", # Add version
+    "unstract-sdk[gcs, azure, aws]~=0.76.1",
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to Reviews > Disable Cache setting
Knowledge Base: Disabled due to Reviews > Disable Knowledge Base setting

📥 Commits

Reviewing files that changed from the base of the PR and between c5c4c89 and 5d7a40d.

⛔ Files ignored due to path filters (5)
  • backend/uv.lock is excluded by !**/*.lock
  • platform-service/uv.lock is excluded by !**/*.lock
  • prompt-service/uv.lock is excluded by !**/*.lock
  • unstract/filesystem/uv.lock is excluded by !**/*.lock
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (8)
  • backend/pyproject.toml (1 hunks)
  • platform-service/pyproject.toml (1 hunks)
  • prompt-service/pyproject.toml (1 hunks)
  • pyproject.toml (1 hunks)
  • tools/classifier/requirements.txt (1 hunks)
  • tools/text_extractor/requirements.txt (1 hunks)
  • unstract/filesystem/pyproject.toml (1 hunks)
  • unstract/tool-registry/pyproject.toml (1 hunks)
🔇 Additional comments (2)
unstract/filesystem/pyproject.toml (1)

9-9: unstract-sdk v0.76.1 Verified on PyPI

Confirmed that unstract-sdk version 0.76.1 is published and available on PyPI. CI should now pass without issues—no further changes required.

pyproject.toml (1)

40-40: Cross-check for stray 0.76.0 pins

This file is updated, but other locations (Dockerfiles, requirements.txt, deployment manifests) may still reference 0.76.0. A quick grep before merging will prevent version drift between environments.

@pk-zipstack pk-zipstack changed the title UN-2453 [DEPS] Fixed MistralAI failing test connection for some models UN-2453 [FIX] Fixed MistralAI failing test connection for some models Jul 16, 2025
@github-actions
Copy link
Contributor

filepath function $$\textcolor{#23d18b}{\tt{passed}}$$ SUBTOTAL
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_logs}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_cleanup}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_cleanup\_skip}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_client\_init}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_image\_exists}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_image}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_container\_run\_config}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_container\_run\_config\_without\_mount}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_run\_container}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_get\_image\_for\_sidecar}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{runner/src/unstract/runner/clients/test\_docker.py}}$$ $$\textcolor{#23d18b}{\tt{test\_sidecar\_container}}$$ $$\textcolor{#23d18b}{\tt{1}}$$ $$\textcolor{#23d18b}{\tt{1}}$$
$$\textcolor{#23d18b}{\tt{TOTAL}}$$ $$\textcolor{#23d18b}{\tt{11}}$$ $$\textcolor{#23d18b}{\tt{11}}$$

@sonarqubecloud
Copy link

@athul-rs athul-rs merged commit 1b7d3b8 into main Jul 16, 2025
8 checks passed
@athul-rs athul-rs deleted the deps/UN-2453-mistral-fix branch July 16, 2025 06:26
pk-zipstack added a commit that referenced this pull request Aug 20, 2025
…#1440)

* bumped up unstract-sdk version to 0.76.1

* Commit uv.lock changes

---------

Co-authored-by: pk-zipstack <187789273+pk-zipstack@users.noreply.github.com>
Co-authored-by: Athul <89829560+athul-rs@users.noreply.github.com>
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