ruby_llm-responses_api 0.5.1 → 0.5.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: '059b94ffc46c9a9505bec39f3c7e11dd55406304b159c9b3e95d37202a085c31'
4
- data.tar.gz: 9371bcaa6539cd987d7688a3901ae855f090576f07f7e00ba0d8613157224e19
3
+ metadata.gz: c37114318d4bd99bade3a5c7079a0d39ad7c24b581d2e81e43634db2a4908f08
4
+ data.tar.gz: 26a2b16bc07b64047f7feceb9db5074be7059b0b3fd23e6fd21416f20cedf112
5
5
  SHA512:
6
- metadata.gz: 1cfbb8c9fe68c29e7d32a07cd6f039dedb62eba362d9238ad877e5b10801b313ee8b821971d863dcf18d5d5affd1378e53c1bcbf77887811b41ef2daba834cc4
7
- data.tar.gz: 62b356bac7017a796033d7ffd8a7e2ca35650898bbf56a59c18fc6530f00787f57b944932b67a5a5dcedc71922b9056f05057118f50ca6aceeea143eb740b9af
6
+ metadata.gz: 9099c4a22c6411369e0efa706fa1adf537f4aee9c55aa4a0204c6d8b3b45ee67ad414e388315303b47513c40c9da01020c260439f10686da1aedeb1bfeb7f77c
7
+ data.tar.gz: ba15916c728707dd92c031aff121b54e919b262e3139f3f857e7370f64aa073a38f1275742441cb8c6da75cbc2c5a849052458b81d2b725e782c23e1fa2607c0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.3] - 2026-03-27
9
+
10
+ ### Fixed
11
+
12
+ - Return string from `slug` instead of symbol to fix `Model.refresh!` sorting crash (PR #6 by @noelblaschke)
13
+
14
+ ## [0.5.2] - 2026-03-18
15
+
16
+ ### Fixed
17
+
18
+ - Fix streamed tool call accumulation: argument deltas no longer overwrite the tool name (PR #3 by @shllg)
19
+ - Fix gem packaging: correct file permissions from 600 to 644 (issue #2 by @myxoh)
20
+ - Move streaming unit tests to dedicated spec file
21
+
8
22
  ## [0.5.1] - 2026-03-03
9
23
 
10
24
  ### Added
@@ -92,9 +92,13 @@ module RubyLLM
92
92
  call_id = data['call_id'] || data['item_id']
93
93
  return nil unless call_id
94
94
 
95
+ # Argument delta events don't carry a tool name — only the initial
96
+ # output_item.added event does. Omit `id` on nameless deltas so
97
+ # StreamAccumulator appends arguments to the latest tool call
98
+ # instead of creating a new entry that overwrites the named one.
95
99
  {
96
100
  call_id => ToolCall.new(
97
- id: call_id,
101
+ id: data['name'] ? call_id : nil,
98
102
  name: data['name'],
99
103
  arguments: data['delta'] || ''
100
104
  )
@@ -214,7 +214,7 @@ module RubyLLM
214
214
  end
215
215
 
216
216
  def slug
217
- :openai_responses
217
+ 'openai_responses'
218
218
  end
219
219
  end
220
220
  end
@@ -39,7 +39,7 @@ RubyLLM::Providers::OpenAIResponses::ModelRegistry.register_all!
39
39
  module RubyLLM
40
40
  # ResponsesAPI namespace for direct access to helpers and version
41
41
  module ResponsesAPI
42
- VERSION = '0.5.1'
42
+ VERSION = '0.5.3'
43
43
 
44
44
  # Shorthand access to built-in tool helpers
45
45
  BuiltInTools = Providers::OpenAIResponses::BuiltInTools
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm-responses_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hasinski
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
- rubygems_version: 4.0.2
194
+ rubygems_version: 3.6.9
195
195
  specification_version: 4
196
196
  summary: OpenAI Responses API provider for RubyLLM
197
197
  test_files: []