Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Nov 13, 2025

This PR regenerates code to match the latest API Definition.

@vellum-automation vellum-automation bot changed the title 🌿 Fern Regeneration -- November 13, 2025 [PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- November 13, 2025 Nov 13, 2025
@fern-api fern-api bot force-pushed the fern-bot/2025-11-13T22-30Z branch from 0c8599c to 15347b5 Compare November 13, 2025 22:30
Copy link

@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.

ℹ️ 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 on lines 173 to 176
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

Choose a reason for hiding this comment

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

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

Comment on lines 12 to 15
Gem::Specification.new do | spec |
spec.name = "vellum_ai"
spec.version = "1.10.4"
spec.version = "0.3.3"
spec.licenses = ["MIT"]

Choose a reason for hiding this comment

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

P1 Badge Keep gem version monotonic

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant