Skip to content

chore: bump speakeasyVersion to 1.763.6#547

Merged
Nelson-PROIA merged 1 commit into
mainfrom
chore/bump-speakeasy-1.763.6
May 22, 2026
Merged

chore: bump speakeasyVersion to 1.763.6#547
Nelson-PROIA merged 1 commit into
mainfrom
chore/bump-speakeasy-1.763.6

Conversation

@Nelson-PROIA
Copy link
Copy Markdown
Contributor

Summary

Bumps the pinned Speakeasy CLI version from 1.763.2 to 1.763.6 in .speakeasy/workflow.yaml.

Why

Picks up two upstream Python generator fixes shipped between 1.763.2 and 1.763.6:

  • envVarPrefix fallback when SDK is constructed without security args (1.763.4 + 1.763.6). Today Mistral() with no args produces api_key=None and never reads MISTRAL_API_KEY from the environment, which is inconsistent with how OpenAI, Anthropic, Cohere and other SDKs behave. With the fix, the generated Mistral.__init__ passes None through so the existing get_security_from_env helper actually fires and reads the env var.
  • Types package support exports preserved correctly (1.763.4).
  • Multi-SDK fixes for async declarations, doc rendering, exports (1.763.3).

Validation

Tested locally:

  • speakeasy run -t mistralai-sdk at 1.763.6 completes clean (same drift surface as 1.763.2, ~249 files of accumulated spec changes, no conflicts).
  • The regenerated src/mistralai/client/sdk.py contains the security fallback patch.
  • Verified end-to-end: Mistral() with only MISTRAL_API_KEY set in env correctly resolves the api_key via get_security_from_env.

What this PR does NOT do

Only bumps the pinned version. The actual SDK regeneration with the new generator will happen via the next Generate MISTRALAI workflow run, producing the usual regen auto-PR.

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 Nelson-PROIA merged commit f409a73 into main May 22, 2026
10 checks passed
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.

2 participants