venice_client 1.0.17 → 1.0.19
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77a712e90132b3e96a9f745906d7ba827b1a9ef3289c757ae35b8d78ad2042c2
|
|
4
|
+
data.tar.gz: 3a25722d0cfad2aa906159f1e2f74dcdde4bbdb58d7ab47696e279255bad15d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cff4f51820905774f73f4408501275cd325962d736af638ff87e53ab908d06e544363ea45a8b0191445fc8a853befeb39424023c66c1cc1eced74e40e039b9de
|
|
7
|
+
data.tar.gz: a7be7594769473cfe2a7327a8df325085f5ef428c01db40f563ed564ebdf8cf700635c88e0a0be66b2eb1344413820073fd906d9d504bec4ec311bdfafd71320
|
data/Gemfile.lock
CHANGED
|
@@ -172,9 +172,9 @@ module VeniceClient
|
|
|
172
172
|
# Custom attribute writer method checking allowed values (enum).
|
|
173
173
|
# @param [Object] finish_reason Object to be assigned
|
|
174
174
|
def finish_reason=(finish_reason)
|
|
175
|
-
validator = EnumAttributeValidator.new('String', ["stop", "length"])
|
|
175
|
+
validator = EnumAttributeValidator.new('String', ["tool_call", "stop", "length"])
|
|
176
176
|
unless validator.valid?(finish_reason)
|
|
177
|
-
fail ArgumentError, "invalid value for \"finish_reason\", must be one of #{validator.allowable_values}."
|
|
177
|
+
fail ArgumentError, "invalid value for \"finish_reason\", must be one of #{validator.allowable_values}. Was #{finish_reason}"
|
|
178
178
|
end
|
|
179
179
|
@finish_reason = finish_reason
|
|
180
180
|
end
|