File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/completions/endpoints Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ def perform_completion!(
50
50
51
51
# We buffer and return tool invocations in one go.
52
52
as_array = response . is_a? ( Array ) ? response : [ response ]
53
- as_array . each do |response |
54
- if is_tool? ( response )
55
- yield ( response , cancel_fn )
56
- elsif is_thinking? ( response )
57
- yield ( response , cancel_fn )
53
+ as_array . each do |_response |
54
+ if is_tool? ( _response )
55
+ yield ( _response , cancel_fn )
56
+ elsif is_thinking? ( _response )
57
+ yield ( _response , cancel_fn )
58
58
elsif model_params [ :response_format ] . present?
59
- structured_output = as_structured_output ( response )
59
+ structured_output = as_structured_output ( _response )
60
60
yield ( structured_output , cancel_fn )
61
61
else
62
62
response . each_char do |char |
You can’t perform that action at this time.
0 commit comments