Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down Expand Up @@ -107,7 +107,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down
2 changes: 1 addition & 1 deletion vellum_ai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require_relative "lib/gemconfig"

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

Choose a reason for hiding this comment

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

P1 Badge Avoid downgrading SDK version to 0.3.3

This regeneration drops both the published gem version and the X-Fern-SDK-Version header from 1.10.0 to 0.3.3. The repository’s history shows 1.10.0 as the most recent release, so pushing this change would attempt to republish an older version, which RubyGems will reject and any clients would advertise the wrong SDK version to the API. Unless you are intentionally rewinding the project to 0.x, the version values here should remain at 1.10.0 or move forward, not backwards.

Useful? React with 👍 / 👎.

spec.authors = Vellum::Gemconfig::AUTHORS
spec.email = Vellum::Gemconfig::EMAIL
Expand Down