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

Commit 9502ba1

Browse files
committed
wild guess but maybe quantization is breaking the test sometimes
this increases distance
1 parent c84f8e9 commit 9502ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/ai_tool_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def stub_embeddings
272272
@counter = 0
273273
stub_request(:post, cloudflare_embedding_def.url).to_return(
274274
status: 200,
275-
body: lambda { |req| { result: { data: [([@counter += 1] * 1024)] } }.to_json },
275+
body: lambda { |req| { result: { data: [([@counter += 2] * 1024)] } }.to_json },
276276
headers: {
277277
},
278278
)

0 commit comments

Comments
 (0)