[GH-ISSUE #3] Open ai Turbo 3.5 is not working #2

Closed
opened 2026-03-02 23:32:52 +03:00 by kerem · 1 comment
Owner

Originally created by @uniqueumesh on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/3

ERROR|google_serp_search.py:312:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: '/home/runner/AI-Blog-Writer/workspace/web_research_reports/Top_5_Scuba_Diving_in_India_2024-03-06_12-09-35'
ERROR|google_serp_search.py:312:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: '/home/runner/AI-Blog-Writer/workspace/web_research_reports/Top_5_Scuba_Diving_in_India_2024-03-06_12-09-35'
INFO|blog_from_google_serp.py:36:write_blog_google_serp| Generating blog and FAQs from web search result.
INFO|blog_from_google_serp.py:46:write_blog_google_serp| Calling OpenAI LLM.
2024-03-06 12:09:47,832-INFO-_client-1013-HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 401 Unauthorized"
2024-03-06 12:09:47,833-ERROR-openai_chat_completion-53-OpenAI API Error: Error code: 401 - {'error': {'message': 'Incorrect API key provided: UhQHYK5O************************************vaM6. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

I am getting this error. Thank you for your help.

Originally created by @uniqueumesh on GitHub (Mar 6, 2024). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/3 ERROR|google_serp_search.py:312:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: '/home/runner/AI-Blog-Writer/workspace/web_research_reports/Top_5_Scuba_Diving_in_India_2024-03-06_12-09-35' ERROR|google_serp_search.py:312:save_in_file| Error occurred while writing to the file: [Errno 2] No such file or directory: '/home/runner/AI-Blog-Writer/workspace/web_research_reports/Top_5_Scuba_Diving_in_India_2024-03-06_12-09-35' INFO|blog_from_google_serp.py:36:write_blog_google_serp| Generating blog and FAQs from web search result. INFO|blog_from_google_serp.py:46:write_blog_google_serp| Calling OpenAI LLM. 2024-03-06 12:09:47,832-INFO-_client-1013-HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 401 Unauthorized" 2024-03-06 12:09:47,833-ERROR-openai_chat_completion-53-OpenAI API Error: Error code: 401 - {'error': {'message': 'Incorrect API key provided: UhQHYK5O************************************vaM6. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}} I am getting this error. Thank you for your help.
kerem 2026-03-02 23:32:52 +03:00
  • closed this issue
  • added the
    openai
    label
Author
Owner

@AJaySi commented on GitHub (Mar 6, 2024):

Thank you for reporting. I was only testing on gemini.
I have added support for gpt-3.5-turbo-0125. Will provide an option to choose AI models soon.

Checkout latest code.

<!-- gh-comment-id:1980850220 --> @AJaySi commented on GitHub (Mar 6, 2024): Thank you for reporting. I was only testing on gemini. I have added support for gpt-3.5-turbo-0125. Will provide an option to choose AI models soon. Checkout latest code.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#2
No description provided.