Skip to content

Port pydantic-ai v1.105.0 parity updates for SDK model settings and feature matrix#105

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/chore-port-pydantic-ai-v1-105-0-changes
Draft

Port pydantic-ai v1.105.0 parity updates for SDK model settings and feature matrix#105
Copilot wants to merge 2 commits into
mainfrom
copilot/chore-port-pydantic-ai-v1-105-0-changes

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

This PR advances the v1.87.0 → v1.105.0 port by implementing the relevant SDK-facing change (xAI reasoning effort support) and updating parity tracking for newly introduced upstream items. Python-specific or non-applicable upstream fixes are explicitly marked in the parity table.

  • Version tracking

    • Bumped .github/pydantic-ai-version.txt to 1.105.0.
  • SDK model settings: xAI reasoning_effort

    • Extended ModelSettings with:
      • reasoningEffort?: "low" | "medium" | "high"
    • Wired the setting into model invocation options via:
      • providerOptions.xai.reasoningEffort
  • Tests

    • Added a focused model-settings test to assert reasoningEffort propagation through generation options.
    • Updated type-level coverage in model_settings_test.ts to include the new field.
  • Docs / parity matrix

    • Updated docs/concepts/models.mdx to document reasoningEffort.
    • Updated docs/reference/features.mdx with v1.105.0 entries:
      • On-demand capability loading: partial (current deferred tool loading + per-turn instruction resolution)
      • xAI reasoning effort: ported
      • Temporal gateway model-construction fix: not applicable
      • Google cached-content omission fix: not applicable
const agent = new Agent({
  model,
  modelSettings: {
    reasoningEffort: "high",
  },
});

Copilot AI assigned Copilot and a7ul Jun 2, 2026
Copilot AI linked an issue Jun 2, 2026 that may be closed by this pull request
11 tasks
Copilot AI changed the title [WIP] Chore: Port pydantic-ai v1.105.0 changes Port pydantic-ai v1.105.0 parity updates for SDK model settings and feature matrix Jun 2, 2026
Copilot finished work on behalf of a7ul June 2, 2026 10:47
Copilot AI requested a review from a7ul June 2, 2026 10:47
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.

chore: port pydantic-ai v1.105.0 changes

2 participants