riffer 0.15.0 → 0.15.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 +4 -4
- data/.agents/architecture.md +2 -1
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/riffer/agent.rb +2 -2
- data/lib/riffer/messages/assistant.rb +1 -1
- data/lib/riffer/version.rb +1 -1
- data/sig/generated/riffer/messages/assistant.rbs +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: 948e36451ba6cbe794054e91152030b3a5f1c89e4d81dddac69fe6624dad1a14
|
|
4
|
+
data.tar.gz: e3ec468daf389cac46ba6f5b027987f939ffc263611c27160a637b0525e84506
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 060c70baee5ae31adbf8b5442be9c163c6c69931df310260005d836f9bfcddf53c17f2e705f194f37197d94345bf31449b992702bf457471262d689cbe806731
|
|
7
|
+
data.tar.gz: f10ebb1ee13561a3a197c1fb757fdc1a41dbacb04499c1160c26f116510b43fb4150b83ab17d77696713f36b896d0bbdc830f0cb0bc8266c28a5a469aab020c8
|
data/.agents/architecture.md
CHANGED
|
@@ -24,7 +24,8 @@ Adapters for LLM APIs. The base class uses a template-method pattern — `genera
|
|
|
24
24
|
- `execute_generate(params)` — call the SDK and return the raw response
|
|
25
25
|
- `execute_stream(params, yielder)` — call the streaming SDK, mapping events to the yielder
|
|
26
26
|
- `extract_token_usage(response)` — pull token counts from the SDK response
|
|
27
|
-
- `
|
|
27
|
+
- `extract_content(response)` — extract text content from the SDK response
|
|
28
|
+
- `extract_tool_calls(response)` — extract tool calls from the SDK response
|
|
28
29
|
|
|
29
30
|
Providers are registered in `Riffer::Providers::Repository::REPO` with identifiers (e.g., `openai`, `amazon_bedrock`).
|
|
30
31
|
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ 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.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.15.1](https://github.com/janeapp/riffer/compare/riffer/v0.15.0...riffer/v0.15.1) (2026-02-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* address claude code review issues from PR [#140](https://github.com/janeapp/riffer/issues/140) ([#142](https://github.com/janeapp/riffer/issues/142)) ([f927c0c](https://github.com/janeapp/riffer/commit/f927c0c1fc472f859d54b1e1d2a02709f53ac973))
|
|
14
|
+
|
|
8
15
|
## [0.15.0](https://github.com/janeapp/riffer/compare/riffer/v0.14.0...riffer/v0.15.0) (2026-02-25)
|
|
9
16
|
|
|
10
17
|
|
data/lib/riffer/agent.rb
CHANGED
|
@@ -322,7 +322,7 @@ class Riffer::Agent
|
|
|
322
322
|
|
|
323
323
|
response = extract_final_response
|
|
324
324
|
|
|
325
|
-
return build_response(response
|
|
325
|
+
return build_response(response&.content || "", modifications: all_modifications, structured_output: validate_structured_output(response))
|
|
326
326
|
end
|
|
327
327
|
|
|
328
328
|
# catch returns the thrown value when throw :riffer_interrupt fires;
|
|
@@ -330,7 +330,7 @@ class Riffer::Agent
|
|
|
330
330
|
@interrupted = true
|
|
331
331
|
response = extract_final_response
|
|
332
332
|
|
|
333
|
-
build_response(response
|
|
333
|
+
build_response(response&.content || "", modifications: all_modifications, interrupted: true, interrupt_reason: reason, structured_output: validate_structured_output(response))
|
|
334
334
|
end
|
|
335
335
|
|
|
336
336
|
#: (Riffer::Messages::Base) -> void
|
data/lib/riffer/version.rb
CHANGED