Spaces:
Running
Running
Commit
·
a60bd23
1
Parent(s):
b12a114
Remove testing url
Browse files- app/app/main.py +1 -3
app/app/main.py
CHANGED
|
@@ -176,9 +176,7 @@ def chat(
|
|
| 176 |
):
|
| 177 |
logger.info(f"Received message: {payload.message}")
|
| 178 |
|
| 179 |
-
client = ArcanaCodexClient(
|
| 180 |
-
api_key=request.app.ARCANA_API_KEY, base_url="http://gateway-backend/api/public"
|
| 181 |
-
)
|
| 182 |
fetch_payload = AdUnitsFetchModel(query=payload.message)
|
| 183 |
ad_fetch_response = client.fetch_ad_units(fetch_payload)
|
| 184 |
|
|
|
|
| 176 |
):
|
| 177 |
logger.info(f"Received message: {payload.message}")
|
| 178 |
|
| 179 |
+
client = ArcanaCodexClient(api_key=request.app.ARCANA_API_KEY)
|
|
|
|
|
|
|
| 180 |
fetch_payload = AdUnitsFetchModel(query=payload.message)
|
| 181 |
ad_fetch_response = client.fetch_ad_units(fetch_payload)
|
| 182 |
|