Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: devteamaegis/client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: mistralai/client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 459 files changed
  • 3 contributors

Commits on May 22, 2026

  1. chore: bump speakeasyVersion to 1.763.6 (mistralai#547)

    Picks up two upstream Python generator fixes:
    - envVarPrefix fallback when SDK is constructed without security args
      (1.763.4 + 1.763.6) — Mistral() now correctly reads MISTRAL_API_KEY
      from the environment when no api_key argument is passed, matching
      the standard pattern used by OpenAI, Anthropic, Cohere, etc.
    - Types package support exports preserved correctly
    - General multi-SDK fixes for async declarations, doc rendering, exports
    
    Validated locally with speakeasy run -t mistralai-sdk: regen is clean
    and the generated src/mistralai/client/sdk.py contains the security
    fallback patch. Confirmed Mistral() + MISTRAL_API_KEY env var
    correctly resolves the api_key via get_security_from_env.
    Nelson-PROIA authored May 22, 2026
    Configuration menu
    Copy the full SHA
    f409a73 View commit details
    Browse the repository at this point in the history
  2. ci: rename publish env from public-sdk to publish (mistralai#551)

    Aligns the python publish workflow with the env name used by all other
    workflows. The public-sdk environment no longer exists on the repo
    (removed when renaming to publish), so the publish workflow currently
    references a non-existent environment.
    Nelson-PROIA authored May 22, 2026
    Configuration menu
    Copy the full SHA
    79e10e1 View commit details
    Browse the repository at this point in the history
  3. ci: narrow publish trigger to root RELEASES.md only (mistralai#552)

    The publish workflow builds a single bundled mistralai wheel from root
    pyproject.toml that includes the sub-packages as source. Only the root
    RELEASES.md changing reflects a new release. Sub-package RELEASES.md
    changes (packages/azure, packages/gcp) shouldn't trigger publish runs
    since they don't produce a new wheel.
    Nelson-PROIA authored May 22, 2026
    Configuration menu
    Copy the full SHA
    6fc2ef0 View commit details
    Browse the repository at this point in the history
  4. chore: 🐝 Update SDK - Generate MISTRAL-PYTHON-SDK-GOOGLE-CLOUD MISTRA…

    …LAI-GCP-SDK [speakeasy/mistralai-gcp-sdk-26292830187-1] 2.1.0 (mistralai#548)
    
    * ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6
    
    * chore: align pyproject.toml and uv.lock to version 2.1.0
    
    * fix(tests): top_p, stop, presence_penalty, frequency_penalty default to UNSET
    
    The regenerated SDK uses the UNSET sentinel instead of None as the
    default value for these parameters in the GCP chat client. Update
    the parity tests to match.
    
    * fix(tests): Fim top_p and stop default to UNSET
    
    The regenerated SDK uses UNSET for these parameters on Fim too.
    
    * fix(tests): Fim top_p default test asserts UNSET
    
    The regenerated SDK uses UNSET for Fim.complete/stream top_p, not 1.
    
    ---------
    
    Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
    maiengineering and speakeasybot authored May 22, 2026
    Configuration menu
    Copy the full SHA
    66b2945 View commit details
    Browse the repository at this point in the history
  5. chore: 🐝 Update SDK - Generate MISTRAL-PYTHON-SDK-AZURE MISTRALAI-AZU…

    …RE-SDK [speakeasy/mistralai-azure-sdk-26292833044-1] 2.1.0 (mistralai#549)
    
    * ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6
    
    * chore: align pyproject.toml and uv.lock to version 2.1.0
    
    * fix(examples,tests): adapt to regenerated SDK changes
    
    - examples/azure/chat_no_streaming.py: guard against None message
      (message can now be AssistantMessage | None in the new generation)
    - tests/test_azure_v2_parity.py: top_p, stop, presence_penalty, and
      frequency_penalty now default to UNSET instead of None
    
    * fix(tests): remove id from OCR_PROCESS_PARAMS
    
    The regenerated SDK no longer exposes the id parameter on Ocr.process
    (removed from the spec). Drop the obsolete test entry.
    
    ---------
    
    Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
    maiengineering and speakeasybot authored May 22, 2026
    Configuration menu
    Copy the full SHA
    59f1bf7 View commit details
    Browse the repository at this point in the history
  6. chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK [speakeasy/mis…

    …tralai-sdk-26292816554-1] 2.4.7 (mistralai#550)
    
    * ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6
    
    * chore: align pyproject.toml and uv.lock to version 2.4.7
    
    * fix: use is_error_status_code callable in workflow helper
    
    The regenerated SDK changed BaseSDK.do_request_async signature from
    error_status_codes (List[str]) to is_error_status_code (Callable[[int], bool]).
    Update the workflow helper to use the new callable form.
    
    ---------
    
    Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
    maiengineering and speakeasybot authored May 22, 2026
    Configuration menu
    Copy the full SHA
    091c57f View commit details
    Browse the repository at this point in the history
Loading