Skip to main content

route

Function route 

Source
pub fn route(input: &str) -> RouteResult
Expand description

Route raw user input into either a slash command or natural language.

Only inputs starting with / are treated as commands. Everything else goes to the LLM pipeline as natural language.