Spaces:
Sleeping
Sleeping
add print for log
Browse files- multiagent_core.py +2 -0
multiagent_core.py
CHANGED
|
@@ -103,6 +103,8 @@ def respond(message, history, system_message, domain, model_name, max_tokens, te
|
|
| 103 |
if not message.strip():
|
| 104 |
raise ValueError("Message vide")
|
| 105 |
intention = detect_intention(message)
|
|
|
|
|
|
|
| 106 |
if intention == "reclamation":
|
| 107 |
return reclamation(message, history)
|
| 108 |
elif intention == "faq":
|
|
|
|
| 103 |
if not message.strip():
|
| 104 |
raise ValueError("Message vide")
|
| 105 |
intention = detect_intention(message)
|
| 106 |
+
print("Intention Client")
|
| 107 |
+
print(intention)
|
| 108 |
if intention == "reclamation":
|
| 109 |
return reclamation(message, history)
|
| 110 |
elif intention == "faq":
|