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

Commit b1e79db

Browse files
committed
fix a couple of tests I missed
1 parent 67bcb43 commit b1e79db

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spec/lib/completions/endpoints/anthropic_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
end
4949

5050
it "does not eat spaces with tool calls" do
51-
SiteSetting.ai_anthropic_native_tool_call_models = "claude-3-opus"
5251
body = <<~STRING
5352
event: message_start
5453
data: {"type":"message_start","message":{"id":"msg_01Ju4j2MiGQb9KV9EEQ522Y3","type":"message","role":"assistant","model":"claude-3-haiku-20240307","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":1293,"output_tokens":1}} }
@@ -195,8 +194,6 @@
195194
end
196195

197196
it "supports non streaming tool calls" do
198-
SiteSetting.ai_anthropic_native_tool_call_models = "claude-3-opus"
199-
200197
tool = {
201198
name: "calculate",
202199
description: "calculate something",

0 commit comments

Comments
 (0)