venice_client 1.0.11 → 1.0.12

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: 341b01002920ec031d4591524f824de29e5ea2f491add43537bf80330dbdec9e
4
- data.tar.gz: ec7da27db6e32c602b0423be62a6821369e6debc4f6ebdedb9ded12e7cb0db38
3
+ metadata.gz: 801025488229ae90b172b53f59dda5915ee679c7e04e432cbf5f9e5739a4a044
4
+ data.tar.gz: 68c697a04dbe84a35ccb30753cce038d8185f62e199da0a4cdd95613800adbe3
5
5
  SHA512:
6
- metadata.gz: f35bec7031e62105dbb9ece0159cf3abc42c459ad3e3a7bdd467b704ecf2185f98252df0e21f341b1201493fa83acbf050dbc402f5a59727625e32f1a8151e53
7
- data.tar.gz: 62c8fd6900949af4e380de085dd4f1d2a0acadc941c0d8c4d8511e5c7e843e9c418c99ce321dbf91c361ca7fc375cc2b9647255a1169fb107f277416fe83ba8e
6
+ metadata.gz: 8f3d85e14c595bd6c09bb9153267a465e0a49582e173df6cd917058fe835a208620ce62335edfc7df57e91da93067880aa37486a5f70148619969d8de457d1ac
7
+ data.tar.gz: 2ec9ac9c4106131c99fee2ca0b635875641ffce44b11e38105298c757b7c6f0f48ba568bdfb0b02dcf03f819ba695952e86be57c4c844c4c8fa9110444ce7244
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- venice_client (1.0.11)
4
+ venice_client (1.0.12)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -98,12 +98,12 @@ module VeniceClient
98
98
 
99
99
  # check to see if the attribute exists and convert string to symbol for hash key
100
100
  acceptable_attribute_map = self.class.acceptable_attribute_map
101
- #attributes = attributes.each_with_object({}) { |(k, v), h|
101
+ attributes = attributes.each_with_object({}) { |(k, v), h|
102
102
  # if (!acceptable_attribute_map.key?(k.to_sym))
103
103
  # fail ArgumentError, "`#{k}` is not a valid attribute in `VeniceClient::AssistantMessage`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
104
104
  # end
105
- # h[k.to_sym] = v
106
- # }
105
+ h[k.to_sym] = v
106
+ }
107
107
 
108
108
  if attributes.key?(:'content')
109
109
  self.content = attributes[:'content']
@@ -100,9 +100,9 @@ module VeniceClient
100
100
  # check to see if the attribute exists and convert string to symbol for hash key
101
101
  acceptable_attribute_map = self.class.acceptable_attribute_map
102
102
  attributes = attributes.each_with_object({}) { |(k, v), h|
103
- if (!acceptable_attribute_map.key?(k.to_sym))
104
- fail ArgumentError, "`#{k}` is not a valid attribute in `VeniceClient::CreateChatCompletion200ResponseChoicesInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
105
- end
103
+ #if (!acceptable_attribute_map.key?(k.to_sym))
104
+ # fail ArgumentError, "`#{k}` is not a valid attribute in `VeniceClient::CreateChatCompletion200ResponseChoicesInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
105
+ #end
106
106
  h[k.to_sym] = v
107
107
  }
108
108
 
@@ -11,5 +11,5 @@ Generator version: 7.14.0
11
11
  =end
12
12
 
13
13
  module VeniceClient
14
- VERSION = '1.0.11'
14
+ VERSION = '1.0.12'
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.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator