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