Closed Avivbens closed 7 months ago
Please provide the video with the debugger open, as per the FAQ. I need to see it happening live.
Now I need to see your values for the Workflow Environment Variables.
Here it is:
@vitorgalvao
You don’t need to ping me, I get notifications on replies.
Try this version. What’s the behaviour?
Just the same
Open a terminal and run the following (replace the YOUR_API_KEY
text within the quotes with your API key):
openai_key="YOUR_API_KEY"
time /usr/bin/curl "https://api.openai.com/v1/chat/completions" --header "Authorization: Bearer ${openai_key}" --header "Content-Type: application/json" --data '{ "model": "gpt-3.5-turbo", "messages": [{ "role": "user", "content": "What is red?" }], "stream": true }'
What do you get?
OK, seems like an SSL cert issue:
Update the ~/.curlrc
to have an absolute path, like:
/Users/<USER_NAME>/<PATH_TO_SSL>
Frequently Asked Questions
Workflow version
v2024.9 - latest
Alfred version
Alfred 5.5 [2257] - latest
macOS version
14.4.1 (23E224)
Debugger output
More details
When trying to query ChatGPT, I'm not getting any response but this: