Spaces:
Running
Running
axeronis commited on
Commit ·
2cc83d8
1
Parent(s): 36378a5
HOTFIX: remove local Message import that shadowed global import causing crash
Browse files
backend/app/api/webhook.py
CHANGED
|
@@ -683,7 +683,7 @@ async def telegram_webhook(
|
|
| 683 |
)
|
| 684 |
|
| 685 |
# SAVE to conversation history so AI knows what was said
|
| 686 |
-
|
| 687 |
welcome_msg = Message(
|
| 688 |
conversation_id=conversation.id,
|
| 689 |
sender_type="ai",
|
|
|
|
| 683 |
)
|
| 684 |
|
| 685 |
# SAVE to conversation history so AI knows what was said
|
| 686 |
+
# Note: Message is already imported at top of file
|
| 687 |
welcome_msg = Message(
|
| 688 |
conversation_id=conversation.id,
|
| 689 |
sender_type="ai",
|