Skip to content

Commit

Permalink
Merge pull request #166 from nasa-petal/track-api
Browse files Browse the repository at this point in the history
Add api-key to thread metadata
  • Loading branch information
bruffridge authored Jun 27, 2024
2 parents 9373fcf + 8d7d008 commit 502f7b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/openaiUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ export async function getNewThreadId() {
}

const metadata = {
"env": ENV
"env": ENV,
"api-key": openaiKey
}

const body = {
Expand Down

0 comments on commit 502f7b4

Please sign in to comment.