Skip to content

Commit 69e3fcb

Browse files
authored
Fix typo assitantInstructions (#655)
1 parent bb6ed54 commit 69e3fcb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assistant_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestAssistant(t *testing.T) {
1717
assistantID := "asst_abc123"
1818
assistantName := "Ambrogio"
1919
assistantDescription := "Ambrogio is a friendly assistant."
20-
assitantInstructions := `You are a personal math tutor.
20+
assistantInstructions := `You are a personal math tutor.
2121
When asked a question, write and run Python code to answer the question.`
2222
assistantFileID := "file-wB6RM6wHdA49HfS2DJ9fEyrH"
2323
limit := 20
@@ -92,7 +92,7 @@ When asked a question, write and run Python code to answer the question.`
9292
Name: &assistantName,
9393
Model: openai.GPT4TurboPreview,
9494
Description: &assistantDescription,
95-
Instructions: &assitantInstructions,
95+
Instructions: &assistantInstructions,
9696
})
9797
fmt.Fprintln(w, string(resBytes))
9898
case http.MethodPost:
@@ -152,7 +152,7 @@ When asked a question, write and run Python code to answer the question.`
152152
Name: &assistantName,
153153
Model: openai.GPT4TurboPreview,
154154
Description: &assistantDescription,
155-
Instructions: &assitantInstructions,
155+
Instructions: &assistantInstructions,
156156
},
157157
},
158158
})
@@ -167,7 +167,7 @@ When asked a question, write and run Python code to answer the question.`
167167
Name: &assistantName,
168168
Description: &assistantDescription,
169169
Model: openai.GPT4TurboPreview,
170-
Instructions: &assitantInstructions,
170+
Instructions: &assistantInstructions,
171171
})
172172
checks.NoError(t, err, "CreateAssistant error")
173173

@@ -178,7 +178,7 @@ When asked a question, write and run Python code to answer the question.`
178178
Name: &assistantName,
179179
Description: &assistantDescription,
180180
Model: openai.GPT4TurboPreview,
181-
Instructions: &assitantInstructions,
181+
Instructions: &assistantInstructions,
182182
})
183183
checks.NoError(t, err, "ModifyAssistant error")
184184

0 commit comments

Comments
 (0)