venice_client 1.0.9 → 1.0.11
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/venice_client/models/assistant_message.rb +6 -6
- data/lib/venice_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 341b01002920ec031d4591524f824de29e5ea2f491add43537bf80330dbdec9e
|
|
4
|
+
data.tar.gz: ec7da27db6e32c602b0423be62a6821369e6debc4f6ebdedb9ded12e7cb0db38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f35bec7031e62105dbb9ece0159cf3abc42c459ad3e3a7bdd467b704ecf2185f98252df0e21f341b1201493fa83acbf050dbc402f5a59727625e32f1a8151e53
|
|
7
|
+
data.tar.gz: 62c8fd6900949af4e380de085dd4f1d2a0acadc941c0d8c4d8511e5c7e843e9c418c99ce321dbf91c361ca7fc375cc2b9647255a1169fb107f277416fe83ba8e
|
data/Gemfile.lock
CHANGED
|
@@ -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|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
#attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
102
|
+
# if (!acceptable_attribute_map.key?(k.to_sym))
|
|
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
|
+
# end
|
|
105
|
+
# h[k.to_sym] = v
|
|
106
|
+
# }
|
|
107
107
|
|
|
108
108
|
if attributes.key?(:'content')
|
|
109
109
|
self.content = attributes[:'content']
|