[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- March 5, 2026#3736
[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- March 5, 2026#3736fern-api[bot] wants to merge 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4069b33e3f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| import httpx | ||
| from .core.api_error import ApiError | ||
| from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper |
There was a problem hiding this comment.
Preserve
vellum.client as a package namespace
Renaming vellum/client/__init__.py to vellum/client.py turns vellum.client into a module, so imports like vellum.client.types... can no longer resolve because modules are not package parents. This is a runtime break for existing code paths that still import through that namespace (for example, workflow and prompt modules under src/vellum/workflows and src/vellum/prompts), and they now fail with ModuleNotFoundError: 'vellum.client' is not a package when imported.
Useful? React with 👍 / 👎.
| # isort: skip_file | ||
|
|
||
| from .client.types import ( | ||
| from .types import ( |
There was a problem hiding this comment.
Re-enable runtime loading of the pydantic plugin
The package import path no longer invokes load_runtime_plugins(), and there are no remaining call sites, so the custom plugin in vellum/plugins/pydantic.py is never registered at runtime. That plugin’s OnValidatePython handler is the mechanism that preserves descriptor objects during model validation; without registration, descriptor-backed workflow model inputs can be coerced/rejected incorrectly instead of being retained as descriptors.
Useful? React with 👍 / 👎.
This PR regenerates code to match the latest API Definition.