ValueError: Please provide an OpenAI API key. You can get one at https://platform.openai.com/account/api-keys #26

Closed
opened 2025-11-06 14:31:32 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @MahmoudMabrok on GitHub (Jan 1, 2025).

while I am using chat_github_llama3.py I get above error when do streamlit run chat_github_llama3.py

Originally created by @MahmoudMabrok on GitHub (Jan 1, 2025). while I am using `chat_github_llama3.py` I get above error when do `streamlit run chat_github_llama3.py`
Author
Owner

@Madhuvod commented on GitHub (Jan 1, 2025):

hey @MahmoudMabrok , thanks for noticing. the file you're taking about needs a GitHub access token and ollama to be run locally to run, and the other script chat_github.py actually needs the openai key, since these were committed few months ago, a lot of changes need to be done with embed chain and .chat() methods were deprecated, so we need to make a few changes to them. I'm on it.

if its urgent to chat with your GitHub repo, or any repo of that matter, there GitHub copilot that's available for free users right now. you can use it :)

@Madhuvod commented on GitHub (Jan 1, 2025): hey @MahmoudMabrok , thanks for noticing. the file you're taking about needs a GitHub access token and ollama to be run locally to run, and the other script chat_github.py actually needs the openai key, since these were committed few months ago, a lot of changes need to be done with embed chain and .chat() methods were deprecated, so we need to make a few changes to them. I'm on it. > if its urgent to chat with your GitHub repo, or any repo of that matter, there GitHub copilot that's available for free users right now. you can use it :)
Author
Owner

@david101-hunter commented on GitHub (Feb 26, 2025):

Does it support ollama's model?

@david101-hunter commented on GitHub (Feb 26, 2025): Does it support ollama's model?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#26