vellum_ai 1.11.20 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da54729675681e67b89a23a80029ab14b1341bc1961d7dac93eab761bb1d2111
4
- data.tar.gz: 117412b21a5a98d7a13cdde0770e16efec8bc5bcee77ddab4ad66deefe36a3de
3
+ metadata.gz: '025449af032943d55350172dd40b19468e024144bd0bb32397b776b8c329ea18'
4
+ data.tar.gz: faaea744fd497604aa4e952bf22b1429031024a83a924a010f858cc92e25bb02
5
5
  SHA512:
6
- metadata.gz: ed59350bade8f352552e28be427b97787cca231962a428e98ce9b70fba11bc5d839e613ec6bca6e85d9505515cddfcfde4192d878a02a400089f403559a63399
7
- data.tar.gz: 790657f91c73ccd7e8137c11f8d706c9c682c795f7e445b67e99a4fdf92c750109855e4e31c9f893589f062552af78988b2636249be26358273c878ad19c6e79
6
+ metadata.gz: d19f8ecdb7c59cfe6e1937bac9a7bfdcd460e53dc793095c1bae82116e5210884a99305355c4e6e21f2b669ec8e71516af5a3dbf4f810a211a259e8d4ffc4ee8
7
+ data.tar.gz: 1799ef5280520ff032893aeb5181853d10733e51ac43eaef3dd17b60d2fe42e81976109422d3b5f6a0cf51e24e7a6fbe5542f3e0c83e7e51fad8c2c7b2041fa0
data/lib/requests.rb CHANGED
@@ -56,7 +56,7 @@ end
56
56
  end
57
57
  # @return [Hash{String => String}]
58
58
  def get_headers
59
- headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.20' }
59
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.12.0' }
60
60
  headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
61
61
  headers
62
62
  end
@@ -107,7 +107,7 @@ end
107
107
  end
108
108
  # @return [Hash{String => String}]
109
109
  def get_headers
110
- headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.20' }
110
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.12.0' }
111
111
  headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
112
112
  headers
113
113
  end
@@ -33,6 +33,7 @@ module Vellum
33
33
  # * :extensions (Hash)
34
34
  # * :color (String)
35
35
  # * :description (String)
36
+ # * :title (String)
36
37
  # * :schema (Hash{String => Object})
37
38
  # @param parameters [Hash] Request of type Vellum::PromptParameters, as a Hash
38
39
  # * :stop (Array<String>)
@@ -122,6 +123,7 @@ end
122
123
  # * :extensions (Hash)
123
124
  # * :color (String)
124
125
  # * :description (String)
126
+ # * :title (String)
125
127
  # * :schema (Hash{String => Object})
126
128
  # @param parameters [Hash] Request of type Vellum::PromptParameters, as a Hash
127
129
  # * :stop (Array<String>)
@@ -20,6 +20,8 @@ module Vellum
20
20
  # @param expand [String] The response fields to expand for more information.
21
21
  # - 'integration_credentials' expands the list of integration credentials that the
22
22
  # authenticated entity has access to for the auth config.
23
+ # - 'additional_parameters' (retrieve only) fetches additional parameter
24
+ # requirements for the auth config.
23
25
  # @param integration_name [String]
24
26
  # @param integration_provider [String]
25
27
  # @param limit [Integer] Number of results to return per page.
@@ -73,6 +75,8 @@ end
73
75
  # @param expand [String] The response fields to expand for more information.
74
76
  # - 'integration_credentials' expands the list of integration credentials that the
75
77
  # authenticated entity has access to for the auth config.
78
+ # - 'additional_parameters' (retrieve only) fetches additional parameter
79
+ # requirements for the auth config.
76
80
  # @param integration_name [String]
77
81
  # @param integration_provider [String]
78
82
  # @param limit [Integer] Number of results to return per page.
@@ -9,6 +9,8 @@ module Vellum
9
9
  attr_reader :color
10
10
  # @return [String]
11
11
  attr_reader :description
12
+ # @return [String]
13
+ attr_reader :title
12
14
  # @return [OpenStruct] Additional properties unmapped to the current class definition
13
15
  attr_reader :additional_properties
14
16
  # @return [Object]
@@ -19,13 +21,15 @@ module Vellum
19
21
 
20
22
  # @param color [String]
21
23
  # @param description [String]
24
+ # @param title [String]
22
25
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
23
26
  # @return [Vellum::VellumVariableExtensions]
24
- def initialize(color: OMIT, description: OMIT, additional_properties: nil)
27
+ def initialize(color: OMIT, description: OMIT, title: OMIT, additional_properties: nil)
25
28
  @color = color if color != OMIT
26
29
  @description = description if description != OMIT
30
+ @title = title if title != OMIT
27
31
  @additional_properties = additional_properties
28
- @_field_set = { "color": color, "description": description }.reject do | _k, v |
32
+ @_field_set = { "color": color, "description": description, "title": title }.reject do | _k, v |
29
33
  v == OMIT
30
34
  end
31
35
  end
@@ -38,9 +42,11 @@ end
38
42
  parsed_json = JSON.parse(json_object)
39
43
  color = parsed_json["color"]
40
44
  description = parsed_json["description"]
45
+ title = parsed_json["title"]
41
46
  new(
42
47
  color: color,
43
48
  description: description,
49
+ title: title,
44
50
  additional_properties: struct
45
51
  )
46
52
  end
@@ -59,6 +65,7 @@ end
59
65
  def self.validate_raw(obj:)
60
66
  obj.color&.is_a?(String) != false || raise("Passed value for field obj.color is not the expected type, validation failed.")
61
67
  obj.description&.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
68
+ obj.title&.is_a?(String) != false || raise("Passed value for field obj.title is not the expected type, validation failed.")
62
69
  end
63
70
  end
64
71
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vellum_ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.20
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vellum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-12-17 00:00:00.000000000 Z
11
+ date: 2025-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday