Skip to content

Conversation

@fern-api
Copy link
Contributor

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

This PR regenerates code to match the latest API Definition.

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 170 to 172
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 Default API version header removed

Calls now set req.headers["X-API-Version"] only when the caller passes an explicit api_version. The previous implementation always fell back to "2025-07-30" so that the generated client targeted the API version it was built against. With the fallback removed, Vellum::Client.new(api_key: ...) sends no version header at all, leaving requests at whatever default the server chooses. If the server default is older or changes in the future, responses will no longer match the 2025‑07‑30 shapes baked into this SDK and requests that rely on newer endpoints can start failing unless every consumer manually supplies an api_version. Restoring the default header or defaulting the client constructor keeps behavior stable.

Useful? React with 👍 / 👎.

Comment on lines 12 to 15
Gem::Specification.new do | spec |
spec.name = "vellum_ai"
spec.version = "1.10.0"
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 Gem version regresses to 0.3.3

The gemspec now advertises version "0.3.3" even though the current release series is 1.x. RubyGems requires monotonically increasing versions, so dropping the version means this package cannot be published or consumed as an upgrade, and clients would appear to downgrade unexpectedly. The version should move forward (e.g. 1.10.1) instead of reverting to a much older number.

Useful? React with 👍 / 👎.

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