omniai-anthropic 2.6.2 → 2.6.3

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: 31598dd62b0d6b13c7b8c94f80942475f03c718f990f9ceaf7939caf3d237baf
4
- data.tar.gz: 3b61bd41e9ad64fc9ea09588a157eed8a7c824271c1ba2d8560fe331fd1d2d76
3
+ metadata.gz: d649f48ca88feb9f8e50084e23056018b8c4686a0d75fd0191acceefc60e32fa
4
+ data.tar.gz: e00ff5518435b57a3a2b77cde19a9632f9a8bd620377a2a37c3ebfe77b036148
5
5
  SHA512:
6
- metadata.gz: 5836d924e040b7bf3f95afce682b23e4cc1cac73bb2de1f7c3cef092fc9a5818c068ed383befe5589c7621383f6ffa76383f0655f1b0fdde81b49a896792f8ea
7
- data.tar.gz: d71cf2d4f8da2b7dc00c6db9c14402a73674a6ce88d2d1c342e6bf68f882a8cc13c85d4731eaf1c7e5b3210e2aa201d6b8d3de9b8c2410ea408ed9730f1471ce
6
+ metadata.gz: 0e501003829f8f263daf8736feedde7697f21c3eb93b046f61255643e6a77bc96006532b232e2f7707041d962d3e2ac87125fd618680ec3ba6908dc86d521326
7
+ data.tar.gz: 3bfba26cfdf4e8cc90ce1d9446aac5e61f9d9e23b7ede7bd3ea1d47c898ead9772c2f5ade6a9eaf21b469c5ab94f464f37e13b6ddc178281513f8cd29c74ff41
@@ -150,6 +150,7 @@ module OmniAI
150
150
  content = @data["content"][index]
151
151
 
152
152
  return unless content["partial_json"]
153
+ return if content["partial_json"].empty?
153
154
 
154
155
  content["input"] = JSON.parse(content["partial_json"])
155
156
  content.delete("partial_json")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Anthropic
5
- VERSION = "2.6.2"
5
+ VERSION = "2.6.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-anthropic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre