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

Commit 9bacb07

Browse files
committed
fill in model name for spec
1 parent b394275 commit 9bacb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/system/embeddings/ai_embedding_definition_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
find("[data-preset-id='manual'] button").click()
4848

49-
# Use the FormKit helper to fill in the form fields
5049
form.field("display_name").fill_in("text-embedding-3-small")
5150
form.field("provider").select(EmbeddingDefinition::OPEN_AI)
5251
form.field("url").fill_in("https://api.openai.com/v1/embeddings")
@@ -60,6 +59,7 @@
6059
form.field("dimensions").fill_in(1536)
6160
form.field("max_sequence_length").fill_in(8191)
6261
form.field("pg_function").select("<=>")
62+
form.field("provider_params.model_name").fill_in("text-embedding-3-small")
6363

6464
form.submit
6565

0 commit comments

Comments
 (0)