-
Notifications
You must be signed in to change notification settings - Fork 4
[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- November 13, 2025 #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
0c8599c to
15347b5
Compare
There was a problem hiding this 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.
ℹ️ 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".
| end | ||
| unless request_options&.api_version.nil? | ||
| req.headers["X-API-Version"] = request_options.api_version | ||
| else | ||
| req.headers["X-API-Version"] = "2025-07-30" | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restore default X-API-Version fallback
This block now only forwards request_options.api_version and drops the previous else branch that forced X-API-Version to "2025-07-30" when no value was supplied. Because Vellum::RequestClient only injects the header when a caller explicitly passes api_version, every request made through the SDK without per-call overrides will now omit the header entirely. That is a breaking change for all existing users who relied on the SDK’s default version: their calls will silently fall back to the server’s implicit default (often an older version) or be rejected when the header is required. Please keep setting the default version when the caller does not provide one so behavior remains stable.
Useful? React with 👍 / 👎.
| Gem::Specification.new do | spec | | ||
| spec.name = "vellum_ai" | ||
| spec.version = "1.10.4" | ||
| spec.version = "0.3.3" | ||
| spec.licenses = ["MIT"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gemspec now declares the SDK as version 0.3.3, even though the previous release was 1.10.4. Publishing this change would be blocked because RubyGems refuses to accept a version that goes backwards, and the generated X-Fern-SDK-Version header was also downgraded to 0.3.3, misreporting the client’s build to the API. Please leave the version at 1.10.4 (or increment it) so that the release can be shipped and the metadata sent in each request remains accurate.
Useful? React with 👍 / 👎.
This PR regenerates code to match the latest API Definition.