Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def call_groq_api(prompt, model="llama3-70b-8192"):
|
|
34 |
return f"[Groq API Error] {response.text}"
|
35 |
|
36 |
def call_blackbox_agent(messages):
|
37 |
-
url = "https://api.
|
38 |
headers = {
|
39 |
"Content-Type": "application/json",
|
40 |
"Authorization": f"Bearer {BLACKBOX_API_KEY}"
|
|
|
34 |
return f"[Groq API Error] {response.text}"
|
35 |
|
36 |
def call_blackbox_agent(messages):
|
37 |
+
url = "https://api.blackbox.ai/v1/chat/completions"
|
38 |
headers = {
|
39 |
"Content-Type": "application/json",
|
40 |
"Authorization": f"Bearer {BLACKBOX_API_KEY}"
|