Commit
·
e7bf096
1
Parent(s):
55f436b
workflow errors debugging v8
Browse files
app.py
CHANGED
|
@@ -415,10 +415,10 @@ async def process_message_async(message: str, history: Optional[List], session_i
|
|
| 415 |
response = f"I'm experiencing some technical difficulties. Your message was: '{message[:100]}...' Please try again or rephrase your question."
|
| 416 |
reasoning_data = {"error": str(orch_error)}
|
| 417 |
else:
|
| 418 |
-
#
|
| 419 |
-
logger.info("
|
| 420 |
-
response = f"Hello! I received your message: '{message}'.\n\nThe
|
| 421 |
-
reasoning_data = {"status": "
|
| 422 |
|
| 423 |
# Add assistant response
|
| 424 |
new_history.append({"role": "assistant", "content": response})
|
|
|
|
| 415 |
response = f"I'm experiencing some technical difficulties. Your message was: '{message[:100]}...' Please try again or rephrase your question."
|
| 416 |
reasoning_data = {"error": str(orch_error)}
|
| 417 |
else:
|
| 418 |
+
# System initialization message
|
| 419 |
+
logger.info("Orchestrator not yet available")
|
| 420 |
+
response = f"Hello! I received your message about: '{message}'.\n\nThe orchestration system is initializing. Your question is important and I'll provide a comprehensive answer shortly."
|
| 421 |
+
reasoning_data = {"status": "initializing"}
|
| 422 |
|
| 423 |
# Add assistant response
|
| 424 |
new_history.append({"role": "assistant", "content": response})
|