Skip to content

Commit af173ed

Browse files
committed
Clean up
1 parent 30debab commit af173ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/openai/client/realtime_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
describe "#create" do
66
it "uses the specified model" do
7-
custom_model = "gpt-4o-realtime-preview-2024-12-18"
8-
VCR.use_cassette("realtime_session_create_custom_model") do
9-
response = realtime.create(parameters: { model: custom_model })
10-
expect(response["model"]).to eq(custom_model)
7+
model = "gpt-4o-realtime-preview-2024-12-18"
8+
VCR.use_cassette("realtime_session_create") do
9+
response = realtime.create(parameters: { model: model })
10+
expect(response["model"]).to eq(model)
1111
end
1212
end
1313

0 commit comments

Comments
 (0)