Skip to content

Feat/cleanup python sdk#28

Merged
RahmeKarim merged 4 commits into
mainfrom
feat/cleanup-python-sdk
Jul 5, 2026
Merged

Feat/cleanup python sdk#28
RahmeKarim merged 4 commits into
mainfrom
feat/cleanup-python-sdk

Conversation

@RahmeKarim

@RahmeKarim RahmeKarim commented Jul 5, 2026

Copy link
Copy Markdown
Member

Note

High Risk
Breaking removals and default dependency changes will break imports and fresh installs; the large regenerated API surface also increases the chance of subtle client regressions despite unchanged runtime behavior claims.

Overview
2.4.0 is a breaking release that aligns the Python SDK with the Node client and trims legacy surface area.

Packaging: Provider SDKs (openai, anthropic, google-genai, mistralai) are no longer default dependencies; install via extras such as metorial[openai] or metorial[all]. README documents the install matrix.

Client API: The Magnetar client is regenerated and wired through subclass-based endpoint groups (no dynamic Any delegation), with new top-level groups on Metorialintegrations, documents, stores, files, skills, callbacks, magic_mcp, portals, plus providers.triggers. Several non-public endpoints (provider_categories, sessions.events, etc.) are dropped from the public client.

Removals: The adapters package, Pulsar generated code, ClientCoreMixin, _config / MetorialConfig, RawResponse, streaming helpers, provider chat_completions exports, and assorted unused internals are deleted; metorial.providers and connect() remain the supported paths.

Fixes: Anthropic tool args use json.loads instead of eval. OpenAI Agents and Haystack invoke tools with the original MCP name, not the sanitized display name.

Reviewed by Cursor Bugbot for commit 3d7923b. Bugbot is set up for automated code reviews on this repo. Configure here.

@RahmeKarim RahmeKarim merged commit e7cb65b into main Jul 5, 2026
11 checks passed
@RahmeKarim RahmeKarim deleted the feat/cleanup-python-sdk branch July 5, 2026 19:45
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.

1 participant