ruby_llm-responses_api 0.5.1 → 0.5.2
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/ruby_llm/providers/openai_responses/streaming.rb +5 -1
- data/lib/rubyllm_responses_api.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c13536c81c541310d1017204b4d312fa6cca67043cf9600f3e7ef497819a87c
|
|
4
|
+
data.tar.gz: 17b16d29633466bf1d9907ad871afae85029641f4768c849bcc75157e85475f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b82fa66f5c8b4a5410a6560c6a3e06530f211e9a0d2738e7170d4f198dc826869cb38a0185fd411ea531a1b2c8029f5a0f983f744e86b8c6d3dc28acf6b6395a
|
|
7
|
+
data.tar.gz: 1bb3d6cc3c1ee74f94e66225acbab358d7022e3f1feefa94e123d418b265d12ec11ef8053fcbee619d134f62681f4a5fb0bb1a62bc5de5565ce4f77f9b7b3cb8
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ 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.2] - 2026-03-18
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fix streamed tool call accumulation: argument deltas no longer overwrite the tool name (PR #3 by @shllg)
|
|
13
|
+
- Fix gem packaging: correct file permissions from 600 to 644 (issue #2 by @myxoh)
|
|
14
|
+
- Move streaming unit tests to dedicated spec file
|
|
15
|
+
|
|
8
16
|
## [0.5.1] - 2026-03-03
|
|
9
17
|
|
|
10
18
|
### 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
|
)
|
|
@@ -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.
|
|
42
|
+
VERSION = '0.5.2'
|
|
43
43
|
|
|
44
44
|
# Shorthand access to built-in tool helpers
|
|
45
45
|
BuiltInTools = Providers::OpenAIResponses::BuiltInTools
|