Spaces:
Running
Running
Update gateway_client.py
Browse files- gateway_client.py +1 -5
gateway_client.py
CHANGED
|
@@ -8,10 +8,6 @@ import requests
|
|
| 8 |
# For local development: Set MEMORY_SERVER_URL in your .env file
|
| 9 |
MEMMACHINE_PORT = os.getenv("MEMORY_SERVER_URL")
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
PROMPT = """You are a helpful AI assistant. Use the provided context and profile information to answer the user's question accurately and helpfully.
|
| 14 |
-
|
| 15 |
<CURRENT_DATE>
|
| 16 |
{current_date}
|
| 17 |
</CURRENT_DATE>
|
|
@@ -75,5 +71,5 @@ def delete_profile(user_id: str) -> bool:
|
|
| 75 |
}
|
| 76 |
requests.delete(f"{MEMMACHINE_PORT}/v1/memories", headers=headers, json={})
|
| 77 |
return True
|
| 78 |
-
Shared in
|
| 79 |
|
|
|
|
|
|
| 8 |
# For local development: Set MEMORY_SERVER_URL in your .env file
|
| 9 |
MEMMACHINE_PORT = os.getenv("MEMORY_SERVER_URL")
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
<CURRENT_DATE>
|
| 12 |
{current_date}
|
| 13 |
</CURRENT_DATE>
|
|
|
|
| 71 |
}
|
| 72 |
requests.delete(f"{MEMMACHINE_PORT}/v1/memories", headers=headers, json={})
|
| 73 |
return True
|
|
|
|
| 74 |
|
| 75 |
+
|