tenseleyflow/loader / 7e40ae7

Browse files

fix: hide internal chatbot-mode steering from users

The 'Chatbot mode detected' error message was confusing users - it's
internal correction logic that should be silent. Now only logged to
debug file, not displayed in UI.
Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
7e40ae7ebdb654dc6cb3a0f727cfc2dc8ad21a0f
Parents
5c8003b
Tree
05a263c

1 changed file

StatusFile+-
M src/loader/agent/loop.py 1 4
src/loader/agent/loop.pymodified
@@ -1347,10 +1347,7 @@ class Agent:
13471347
                         f.write(f"[chatbot-check] TRIGGERING chatbot recovery\n")
13481348
                 except Exception:
13491349
                     pass
1350
-                await emit(AgentEvent(
1351
-                    type="error",
1352
-                    content="⚠ Chatbot mode detected - steering agent to use tools instead of giving instructions",
1353
-                ))
1350
+                # Silently steer - don't show error to user (internal correction)
13541351
                 self.messages.append(Message(
13551352
                     role=Role.ASSISTANT,
13561353
                     content=response_content,