Skip to content

Commit 73f38fb

Browse files
committed
Rubocop -A
1 parent d56f982 commit 73f38fb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/ruby_llm/providers/openai/response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def format_input(messages) # rubocop:disable Metrics/PerceivedComplexity
4444
all_tool_calls = messages.flat_map do |m|
4545
m.tool_calls&.values || []
4646
end
47-
result = messages.flat_map do |msg|
47+
messages.flat_map do |msg|
4848
if msg.tool_call?
4949
msg.tool_calls.map do |_, tc|
5050
{

spec/ruby_llm/image_to_image_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
expect(content_objects_received).to be >= 0
115115
end
116116
end
117-
118117
end
119118

120119
it 'properly accumulates mixed string and Content chunks' do

0 commit comments

Comments
 (0)