Skip planning phase for simple/direct requests
The planning prompt now asks the model to respond with "DIRECT" if the
request doesn't need multiple steps. Added a regex fallback: if the
response has no numbered steps it's also discarded. This prevents plan
cards appearing for conversational replies that would just duplicate
the final message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fe6d7bc commit efb870f5224f21ca15c4019b8e958a54948586ae
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 11 Apr
Showing 1 changed file
View
navi/core/agent.py