ruby-openai-swarm 0.4.0 → 0.4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49bcf71e27c830e373b9732691667aa4ff8657dc944a8dc113fb4b13e807ccd6
4
- data.tar.gz: 38cd26d3670e7a49652b8b52677a2a7bf722c9f5635bfef55bea296d0502c4d1
3
+ metadata.gz: 455b72e5872a2f9e11dad1509769c5e3037cef23b3a622337fa419f9c8a2ab20
4
+ data.tar.gz: 8f51f50b6ee3de651073783610d26f1394f2fbdb130aa8926b5184af921cfce0
5
5
  SHA512:
6
- metadata.gz: 0f4b422f084d400ef6eea393f20a650fd02fa8b96370e4781c4228113650763c7eb84c6c1aac21daceb8251cfd83d69ec69b536dff16c3bd7be3e8b0f22a353a
7
- data.tar.gz: f24c83ea576a7d305069eda9da308f0d39b257065897377b228c785049c41254d3889d4e82b96d40755151b801b95d3a6f8ae5550d73fb871c902c9b21755793
6
+ metadata.gz: fc109240efa4af18db7d9d2d60cf9e22fd55c36a9b9845617aa23a3ea912610001c98e0567cd34abd8dcf5e3f1cb86b85b0d474d356023912add3e2c730ad6cf
7
+ data.tar.gz: 2d5d5740139edc78c5de1116c41e57397b3fce75f114f0459889c2f49c35846473a38fe35048977a5cecb79cb27d9af7d98c9fce48fa8926666165f6766f1dd3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-openai-swarm (0.4.0)
4
+ ruby-openai-swarm (0.4.0.1)
5
5
  ruby-openai (~> 7.3)
6
6
 
7
7
  GEM
@@ -15,8 +15,8 @@ GEM
15
15
  base64
16
16
  faraday-net_http (>= 2.0, < 3.1)
17
17
  ruby2_keywords (>= 0.0.4)
18
- faraday-multipart (1.0.4)
19
- multipart-post (~> 2)
18
+ faraday-multipart (1.1.0)
19
+ multipart-post (~> 2.0)
20
20
  faraday-net_http (3.0.2)
21
21
  method_source (1.1.0)
22
22
  multipart-post (2.4.1)
@@ -244,7 +244,7 @@ module OpenAISwarm
244
244
 
245
245
  # TODO(Grayson): will refactor it
246
246
  if stream['parameters']
247
- yield({ 'parameters' => stream['parameters'] }) if block_given?
247
+ yield({ 'parameters' => stream['parameters'], 'agent' => active_agent&.name }) if block_given?
248
248
  end
249
249
  next if stream.key?('parameters')
250
250
 
@@ -1,3 +1,3 @@
1
1
  module OpenAISwarm
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-openai-swarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grayson