Skip to content

Commit 0dd0e91

Browse files
committed
CI setup stores the API key in a different variable
1 parent a2b893a commit 0dd0e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/topenAIChat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function generateWithTools(testCase)
9696
f = addParameter(f, "url", type="string", description="URL containing the paper.");
9797
f = addParameter(f, "explanation", type="string", description="Explanation on why the paper is related to the given topic.");
9898

99-
paperExtractor = openAIChat("You are an expert in extracting information from a paper.", Tools=f);
99+
paperExtractor = openAIChat("You are an expert in extracting information from a paper.", APIKey=getenv("OPENAI_KEY"), Tools=f);
100100

101101
input = join([
102102
" <id>http://arxiv.org/abs/2406.04344v1</id>"

0 commit comments

Comments
 (0)