ox-ai-workers 0.9.6.6 → 0.9.6.7

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: 775c607f00c961197a61afa173231aac050d13c323a3e75f3b14ab5526cf351c
4
- data.tar.gz: ffbf35f0bdb94d327a5c9bac459d5a7722ca9425b9d5f6bb4b8959a5686a82bb
3
+ metadata.gz: 49ad8f9e3ff36419d89daae2c11bb6a0f77f584a039749dcb3a7842551a2963a
4
+ data.tar.gz: fecdb987ba5b1d8774f35231b956d6a6651887bba948550942cf129fb6e9349a
5
5
  SHA512:
6
- metadata.gz: 025d4cd7939172748693280fdd5618b4fa28a180a950d672493b314fd4e1caaa5d0fe9d3d5fc8bd60c40a06a5cdf67ac9fba99c98ea901d30d5c096521c18b3a
7
- data.tar.gz: 00212e9ee22f72b6da29f59e66ffd781d238515235423ae5bb517f5c33b78ce9d274fd715145f236e867585a662e28db89ca6093fbb85043130e75f64ae2b888
6
+ metadata.gz: '088ed6ed996155d4885970743fa76713e6d994fbb971c17464443c4e0dc5da078c634e1fb1b40794c92e289e59752077fbf93aefde5cfb345dfc5bd60afab327'
7
+ data.tar.gz: d4e007033cd57585b0fc94c45fd89173454b1fce3696da70a86e9aaa035075b2f18b328b41b00aa10560f761bcf59cc62c39691a8b3a44ce122a6fe95c657304
@@ -140,8 +140,10 @@ module OxAiWorkers
140
140
  # Skipping for now, as partial args are likely useless.
141
141
  next
142
142
  end
143
-
143
+ OxAiWorkers.logger.info("function: #{function.inspect}", for: self.class)
144
144
  # Accumulate parsed tool calls
145
+ next if function['name'].empty?
146
+
145
147
  @tool_calls << {
146
148
  class: function['name'].split('__').first,
147
149
  name: function['name'].split('__').last,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OxAiWorkers
4
- VERSION = '0.9.6.6'
4
+ VERSION = '0.9.6.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ox-ai-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6.6
4
+ version: 0.9.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Smolev