@@ -17,7 +17,7 @@ func TestAssistant(t *testing.T) {
17
17
assistantID := "asst_abc123"
18
18
assistantName := "Ambrogio"
19
19
assistantDescription := "Ambrogio is a friendly assistant."
20
- assitantInstructions := `You are a personal math tutor.
20
+ assistantInstructions := `You are a personal math tutor.
21
21
When asked a question, write and run Python code to answer the question.`
22
22
assistantFileID := "file-wB6RM6wHdA49HfS2DJ9fEyrH"
23
23
limit := 20
@@ -92,7 +92,7 @@ When asked a question, write and run Python code to answer the question.`
92
92
Name : & assistantName ,
93
93
Model : openai .GPT4TurboPreview ,
94
94
Description : & assistantDescription ,
95
- Instructions : & assitantInstructions ,
95
+ Instructions : & assistantInstructions ,
96
96
})
97
97
fmt .Fprintln (w , string (resBytes ))
98
98
case http .MethodPost :
@@ -152,7 +152,7 @@ When asked a question, write and run Python code to answer the question.`
152
152
Name : & assistantName ,
153
153
Model : openai .GPT4TurboPreview ,
154
154
Description : & assistantDescription ,
155
- Instructions : & assitantInstructions ,
155
+ Instructions : & assistantInstructions ,
156
156
},
157
157
},
158
158
})
@@ -167,7 +167,7 @@ When asked a question, write and run Python code to answer the question.`
167
167
Name : & assistantName ,
168
168
Description : & assistantDescription ,
169
169
Model : openai .GPT4TurboPreview ,
170
- Instructions : & assitantInstructions ,
170
+ Instructions : & assistantInstructions ,
171
171
})
172
172
checks .NoError (t , err , "CreateAssistant error" )
173
173
@@ -178,7 +178,7 @@ When asked a question, write and run Python code to answer the question.`
178
178
Name : & assistantName ,
179
179
Description : & assistantDescription ,
180
180
Model : openai .GPT4TurboPreview ,
181
- Instructions : & assitantInstructions ,
181
+ Instructions : & assistantInstructions ,
182
182
})
183
183
checks .NoError (t , err , "ModifyAssistant error" )
184
184
0 commit comments