From 69e3fcbc2726d208d34e9d89089b47ebebdff01b Mon Sep 17 00:00:00 2001 From: chrbsg <52408325+chrbsg@users.noreply.github.com> Date: Tue, 6 Feb 2024 19:04:40 +0000 Subject: [PATCH] Fix typo assitantInstructions (#655) --- assistant_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assistant_test.go b/assistant_test.go index 30daec2..9e1e3f3 100644 --- a/assistant_test.go +++ b/assistant_test.go @@ -17,7 +17,7 @@ func TestAssistant(t *testing.T) { assistantID := "asst_abc123" assistantName := "Ambrogio" assistantDescription := "Ambrogio is a friendly assistant." - assitantInstructions := `You are a personal math tutor. + assistantInstructions := `You are a personal math tutor. When asked a question, write and run Python code to answer the question.` assistantFileID := "file-wB6RM6wHdA49HfS2DJ9fEyrH" limit := 20 @@ -92,7 +92,7 @@ When asked a question, write and run Python code to answer the question.` Name: &assistantName, Model: openai.GPT4TurboPreview, Description: &assistantDescription, - Instructions: &assitantInstructions, + Instructions: &assistantInstructions, }) fmt.Fprintln(w, string(resBytes)) case http.MethodPost: @@ -152,7 +152,7 @@ When asked a question, write and run Python code to answer the question.` Name: &assistantName, Model: openai.GPT4TurboPreview, Description: &assistantDescription, - Instructions: &assitantInstructions, + Instructions: &assistantInstructions, }, }, }) @@ -167,7 +167,7 @@ When asked a question, write and run Python code to answer the question.` Name: &assistantName, Description: &assistantDescription, Model: openai.GPT4TurboPreview, - Instructions: &assitantInstructions, + Instructions: &assistantInstructions, }) checks.NoError(t, err, "CreateAssistant error") @@ -178,7 +178,7 @@ When asked a question, write and run Python code to answer the question.` Name: &assistantName, Description: &assistantDescription, Model: openai.GPT4TurboPreview, - Instructions: &assitantInstructions, + Instructions: &assistantInstructions, }) checks.NoError(t, err, "ModifyAssistant error")