We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca4f603 commit ac79c92Copy full SHA for ac79c92
.github/workflows/main.yml
@@ -27,10 +27,32 @@ jobs:
27
with:
28
babashka-version: 1.4.192
29
30
+ - name: debug key
31
+ env:
32
+ OPEN_AI_KEY: ${{secrets.OPEN_AI_KEY}}
33
+ run: |
34
+ curl https://api.openai.com/v1/chat/completions \
35
+ -H "Content-Type: application/json" \
36
+ -H "Authorization: Bearer $OPEN_AI_KEY" \
37
+ -d '{
38
+ "model": "gpt-3.5-turbo",
39
+ "messages": [
40
+ {
41
+ "role": "system",
42
+ "content": "You are a helpful assistant."
43
+ },
44
45
+ "role": "user",
46
+ "content": "Hello!"
47
+ }
48
+ ]
49
+ }'
50
+
51
52
- name: render all tutorials
- run: bb render_all.clj
53
env:
54
OPEN_AI_KEY: ${{secrets.OPEN_AI_KEY}}
55
+ run: bb render_all.clj
56
57
58
- name: combine all tutorials
0 commit comments