Store the normalized line not the raw line!

This commit is contained in:
Jorge Manrubia
2025-07-03 22:40:16 +02:00
parent fd418b123e
commit 8071c7b522
+1 -1
View File
@@ -30,7 +30,7 @@ class Command::Ai::Parser
commands.unshift Command::VisitUrl.new(user: user, url: query_context.url, context: resolved_context)
end
Command::Composite.new(title: query, commands: commands, user: user, line: query, context: resolved_context)
Command::Composite.new(title: query, commands: commands, user: user, line: normalized_query, context: resolved_context)
end
def commands_from_query(normalized_query, context)