Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,12 +134,10 @@ async def handle_message(message: cl.Message):
|
|
| 134 |
if "booking_id" in booking_data:
|
| 135 |
try:
|
| 136 |
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
"chat_history": ""
|
| 140 |
-
}, callbacks=[cl.AsyncLangchainCallbackHandler()])
|
| 141 |
|
| 142 |
-
|
| 143 |
|
| 144 |
except Exception as e:
|
| 145 |
await cl.Message(content=f"Error processing booking data: {str(e)}").send()
|
|
|
|
| 134 |
if "booking_id" in booking_data:
|
| 135 |
try:
|
| 136 |
|
| 137 |
+
combined_message = f"### Informasjon for Bestillingskode:\n\n{response}"
|
| 138 |
+
await cl.Message(content=combined_message).send()
|
|
|
|
|
|
|
| 139 |
|
| 140 |
+
|
| 141 |
|
| 142 |
except Exception as e:
|
| 143 |
await cl.Message(content=f"Error processing booking data: {str(e)}").send()
|