We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56f982 commit 73f38fbCopy full SHA for 73f38fb
lib/ruby_llm/providers/openai/response.rb
@@ -44,7 +44,7 @@ def format_input(messages) # rubocop:disable Metrics/PerceivedComplexity
44
all_tool_calls = messages.flat_map do |m|
45
m.tool_calls&.values || []
46
end
47
- result = messages.flat_map do |msg|
+ messages.flat_map do |msg|
48
if msg.tool_call?
49
msg.tool_calls.map do |_, tc|
50
{
spec/ruby_llm/image_to_image_spec.rb
@@ -114,7 +114,6 @@
114
expect(content_objects_received).to be >= 0
115
116
117
-
118
119
120
it 'properly accumulates mixed string and Content chunks' do
0 commit comments