Skip to content

[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- March 5, 2026#3736

Closed
fern-api[bot] wants to merge 2 commits intomainfrom
fern-bot/2026-03-05T20-47Z
Closed

[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- March 5, 2026#3736
fern-api[bot] wants to merge 2 commits intomainfrom
fern-bot/2026-03-05T20-47Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented Mar 5, 2026

This PR regenerates code to match the latest API Definition.

@vellum-automation vellum-automation Bot changed the title 🌿 Fern Regeneration -- March 5, 2026 [PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- March 5, 2026 Mar 5, 2026
@vellum-automation vellum-automation Bot added the preview This PR was autogenerated for preview purposes only label Mar 5, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/vellum/client.py

import httpx
from .core.api_error import ApiError
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Comment thread src/vellum/__init__.py Outdated
Comment on lines +3 to +5
# isort: skip_file

from .client.types import (
from .types import (
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@vellum-automation vellum-automation Bot closed this Mar 5, 2026
@vellum-automation vellum-automation Bot deleted the fern-bot/2026-03-05T20-47Z branch March 5, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview This PR was autogenerated for preview purposes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants