NikhilSetiya commited on
Commit
2a95781
·
1 Parent(s): 5cc3323

Fix: Update Groq API endpoint and clean config files

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import requests
3
 
4
- GROQ_API_URL = "https://api.groqcloud.com/v1/chat/completions"
5
  GROQ_API_KEY = os.getenv("GROQ_API_KEY") # Secure key from Hugging Face Secrets
6
 
7
  if not GROQ_API_KEY:
 
1
  import os
2
  import requests
3
 
4
+ GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
5
  GROQ_API_KEY = os.getenv("GROQ_API_KEY") # Secure key from Hugging Face Secrets
6
 
7
  if not GROQ_API_KEY: