Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 699ad5c

Browse files
committed
Fix specs
1 parent 754b3ce commit 699ad5c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/completions/endpoints/fake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def perform_completion!(
122122
feature_name: nil,
123123
feature_context: nil,
124124
partial_tool_calls: false,
125-
ouput_thinking: false
125+
output_thinking: false
126126
)
127127
last_call = { dialect: dialect, user: user, model_params: model_params }
128128
self.class.last_call = last_call

lib/completions/endpoints/open_ai.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def perform_completion!(
4242
feature_name: nil,
4343
feature_context: nil,
4444
partial_tool_calls: false,
45-
output_thinkings: false,
45+
output_thinking: false,
4646
&blk
4747
)
4848
@disable_native_tools = dialect.disable_native_tools?

spec/lib/modules/ai_bot/playground_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@
876876
thinking_signature: "thinking-signature-123",
877877
redacted_thinking_signature: "thinking-redacted-signature-123",
878878
},
879-
{ type: :user, content: "Say Cat", id: "bruce1" },
879+
{ type: :user, content: "Say Cat", id: user.username },
880880
],
881881
)
882882
end

0 commit comments

Comments
 (0)