venice_client 1.0.2 → 1.0.4

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: 8d9a972f3193a88b917a23a2e696938f6412c90093f054ed027cc479672a5c99
4
- data.tar.gz: 2236f319268d7ba10b6cb5d2b69e1fcd976ecfe53c6f0ed01c38a81e47398b07
3
+ metadata.gz: 4f242989aaaa6183d7d989dbf0adb2796291d202167a06f4387355b184008d12
4
+ data.tar.gz: 123e52e3074178e5ad40c21e11ad50a99b9a1cc7ec50ff93e58e2dc67ead6592
5
5
  SHA512:
6
- metadata.gz: 2497d70681d41d99739230c590939a8475560d89f9c10286e8a3150dede0d6b5882d9c854446c5b580bbb7958eceddd114c2dd2277678d01bdb43fb81f8ec83d
7
- data.tar.gz: bd68a304304b9439c1677e4a4ef7a37ee0f073639dd9cb71381b13314dcbfa605443c10c076a96af823504978c86e9e193da4c0bd1a01010ae51b464015dcf8c
6
+ metadata.gz: b8997ca08ac09fa1ec60e95aa8ad05aba69c0df0f3d43376e0b3a1612f532161ba9659e817307fb77de3d55121dd2605e632bb29d3632ff4a29659ecfff76eaf
7
+ data.tar.gz: 7b2fddb2ac42f9e63bf5b6afb9c9e534777f250d29f76c35383d16aabf35ebb836120ce6465c0022843e0b1c280e4d0b0dad6b64579f8fbdd5ce1b225da83f69
@@ -10,8 +10,8 @@ Generator version: 7.14.0
10
10
 
11
11
  =end
12
12
 
13
- require 'date'
14
- require 'time'
13
+ require "date"
14
+ require "time"
15
15
 
16
16
  module VeniceClient
17
17
  # Unique parameters to Venice's API implementation.
@@ -68,7 +68,7 @@ module VeniceClient
68
68
  :'enable_web_search' => :'enable_web_search',
69
69
  :'enable_web_citations' => :'enable_web_citations',
70
70
  :'include_search_results_in_stream' => :'include_search_results_in_stream',
71
- :'include_venice_system_prompt' => :'include_venice_system_prompt'
71
+ :'include_venice_system_prompt' => :'include_venice_system_prompt',
72
72
  }
73
73
  end
74
74
 
@@ -91,14 +91,13 @@ module VeniceClient
91
91
  :'enable_web_search' => :'String',
92
92
  :'enable_web_citations' => :'Boolean',
93
93
  :'include_search_results_in_stream' => :'Boolean',
94
- :'include_venice_system_prompt' => :'Boolean'
94
+ :'include_venice_system_prompt' => :'Boolean',
95
95
  }
96
96
  end
97
97
 
98
98
  # List of attributes with nullable: true
99
99
  def self.openapi_nullable
100
- Set.new([
101
- ])
100
+ Set.new([])
102
101
  end
103
102
 
104
103
  # Initializes the object
@@ -136,7 +135,7 @@ module VeniceClient
136
135
  if attributes.key?(:'enable_web_search')
137
136
  self.enable_web_search = attributes[:'enable_web_search']
138
137
  else
139
- self.enable_web_search = 'false'
138
+ self.enable_web_search = "off"
140
139
  end
141
140
 
142
141
  if attributes.key?(:'enable_web_citations')
@@ -161,7 +160,7 @@ module VeniceClient
161
160
  # Show invalid properties with the reasons. Usually used together with valid?
162
161
  # @return Array for valid properties with the reasons
163
162
  def list_invalid_properties
164
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
163
+ warn "[DEPRECATED] the `list_invalid_properties` method is obsolete"
165
164
  invalid_properties = Array.new
166
165
  invalid_properties
167
166
  end
@@ -169,8 +168,8 @@ module VeniceClient
169
168
  # Check to see if the all the properties in the model are valid
170
169
  # @return true if the model is valid
171
170
  def valid?
172
- warn '[DEPRECATED] the `valid?` method is obsolete'
173
- enable_web_search_validator = EnumAttributeValidator.new('String', ["auto", "false", "true"])
171
+ warn "[DEPRECATED] the `valid?` method is obsolete"
172
+ enable_web_search_validator = EnumAttributeValidator.new("String", ["auto", "off", "on"])
174
173
  return false unless enable_web_search_validator.valid?(@enable_web_search)
175
174
  true
176
175
  end
@@ -178,7 +177,7 @@ module VeniceClient
178
177
  # Custom attribute writer method checking allowed values (enum).
179
178
  # @param [Object] enable_web_search Object to be assigned
180
179
  def enable_web_search=(enable_web_search)
181
- validator = EnumAttributeValidator.new('String', ["auto", "false", "true"])
180
+ validator = EnumAttributeValidator.new("String", ["auto", "off", "on"])
182
181
  unless validator.valid?(enable_web_search)
183
182
  fail ArgumentError, "invalid value for \"enable_web_search\", must be one of #{validator.allowable_values}."
184
183
  end
@@ -190,13 +189,13 @@ module VeniceClient
190
189
  def ==(o)
191
190
  return true if self.equal?(o)
192
191
  self.class == o.class &&
193
- character_slug == o.character_slug &&
194
- strip_thinking_response == o.strip_thinking_response &&
195
- disable_thinking == o.disable_thinking &&
196
- enable_web_search == o.enable_web_search &&
197
- enable_web_citations == o.enable_web_citations &&
198
- include_search_results_in_stream == o.include_search_results_in_stream &&
199
- include_venice_system_prompt == o.include_venice_system_prompt
192
+ character_slug == o.character_slug &&
193
+ strip_thinking_response == o.strip_thinking_response &&
194
+ disable_thinking == o.disable_thinking &&
195
+ enable_web_search == o.enable_web_search &&
196
+ enable_web_citations == o.enable_web_citations &&
197
+ include_search_results_in_stream == o.include_search_results_in_stream &&
198
+ include_venice_system_prompt == o.include_venice_system_prompt
200
199
  end
201
200
 
202
201
  # @see the `==` method
@@ -322,7 +321,5 @@ module VeniceClient
322
321
  value
323
322
  end
324
323
  end
325
-
326
324
  end
327
-
328
325
  end
@@ -11,5 +11,5 @@ Generator version: 7.14.0
11
11
  =end
12
12
 
13
13
  module VeniceClient
14
- VERSION = "1.0.2"
14
+ VERSION = "1.0.4"
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: venice_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator