Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def lab_agent(text: str):
|
|
| 124 |
# -----------------------------
|
| 125 |
def moonshot_summary(prompt: str):
|
| 126 |
try:
|
| 127 |
-
url = "https://api.moonshot.
|
| 128 |
headers = {
|
| 129 |
"Authorization": f"Bearer {MOONSHOT_API_KEY}",
|
| 130 |
"Content-Type": "application/json"
|
|
|
|
| 124 |
# -----------------------------
|
| 125 |
def moonshot_summary(prompt: str):
|
| 126 |
try:
|
| 127 |
+
url = "https://api.moonshot.ai/v1/chat/completions"
|
| 128 |
headers = {
|
| 129 |
"Authorization": f"Bearer {MOONSHOT_API_KEY}",
|
| 130 |
"Content-Type": "application/json"
|