ox-ai-workers 0.8.0 → 0.8.1

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: b177fcb5d7633d2cf26c608db3ec4ee0c69a301bf3913397be7cdd146de52cc5
4
- data.tar.gz: 172312df86eba2fd578100467da9b7ac17ebfff577889f3df1b6888643c129e8
3
+ metadata.gz: f78fe8562d281490ff77a739af65aac6c23961e19bed5b2d14cf7598711affc6
4
+ data.tar.gz: 8f3fea145d2c7d9ae60fd6b79705cc03b4dfa88e81c1954051015e0ae5542dc9
5
5
  SHA512:
6
- metadata.gz: 6d812c840212f8651ae58c09378c1eff43f4f8b69c0a6d50e17997863e3b1635d66470b9edec3eff270f8fe910dd309df994f07a4a18654799b82166fb52ee25
7
- data.tar.gz: 24615b0e9a421c538d926fe97ad843f78d6795c54334d005fd03d0b6016dd4d24f694e267d0d18cb0ad653a25b8791893658557299fb6aa3558f17980fc2b696
6
+ metadata.gz: 96beaf2ea54324504aef5267915672987ff70b2fb9ce862306515759a0a90dc0ea18b8c8889694fb5ee6739cd1223a880da86468b1eeca597a9e003c387c9723
7
+ data.tar.gz: 93d1baa2365ee956027a882662aa549afd7bd8cd2e34f3573fb3f412f1c694840243aa7a396422ac1806767aa48ca63963707bf7e33296c5e212b5aae924f568
@@ -232,10 +232,8 @@ module OxAiWorkers
232
232
  next if tool.nil?
233
233
 
234
234
  out = tool.send(external_call[:name], **external_call[:args])
235
- @queue << { role: :assistant,
236
- content: "Call #{external_call[:name]} with args #{external_call[:args]}" }
237
235
  @queue << { role: :system,
238
- content: "Tool call #{external_call[:name]} complited" }
236
+ content: "Tool called #{external_call[:name]} completed. Args: #{external_call[:args]}" }
239
237
  @queue << { role: :system, content: "Result: #{out}" } if out.present?
240
238
  end
241
239
  @worker.finish
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OxAiWorkers
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.1'
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.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Smolev