Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica authored Dec 10, 2024
1 parent b77030d commit f56434e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,24 @@ jobs:
- name: debug key
env:
OPEN_AI_KEY: ${{secrets.OPEN_AI_KEY}}
run: echo $OPEN_AI_KEY
run: |
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPEN_AI_KEY" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}'
- name: render all tutorials
run: bb render_all.clj
Expand Down

0 comments on commit f56434e

Please sign in to comment.