Skip to content

Commit 9dae54c

Browse files
committed
fix environment
Signed-off-by: Grant Linville <grant@acorn.io>
1 parent 1145525 commit 9dae54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasets_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestDatasets(t *testing.T) {
1414

1515
client, err := NewGPTScript(GlobalOptions{
1616
OpenAIAPIKey: os.Getenv("OPENAI_API_KEY"),
17-
Env: []string{"GPTSCRIPT_WORKSPACE_ID=" + workspaceID},
17+
Env: append(os.Environ(), "GPTSCRIPT_WORKSPACE_ID="+workspaceID),
1818
})
1919
require.NoError(t, err)
2020

0 commit comments

Comments
 (0)