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

Commit 70a6fe6

Browse files
committed
fix more tests
1 parent da74713 commit 70a6fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/lib/modules/ai_bot/playground_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@
10601060
it "properly returns an image when skipping tool details" do
10611061
persona.update!(tool_details: false)
10621062

1063-
WebMock.stub_request(:post, SiteSetting.ai_openai_dall_e_3_url).to_return(
1063+
WebMock.stub_request(:post, SiteSetting.ai_openai_image_generation_url).to_return(
10641064
status: 200,
10651065
body: { data: data }.to_json,
10661066
)
@@ -1075,7 +1075,7 @@
10751075
end
10761076

10771077
it "does not include placeholders in conversation context (simulate DALL-E)" do
1078-
WebMock.stub_request(:post, SiteSetting.ai_openai_dall_e_3_url).to_return(
1078+
WebMock.stub_request(:post, SiteSetting.ai_openai_image_generation_url).to_return(
10791079
status: 200,
10801080
body: { data: data }.to_json,
10811081
)

0 commit comments

Comments
 (0)