agent: improve wording of the welcome message

This commit is contained in:
Francis Bouvier
2026-06-05 12:36:41 +02:00
parent 157aa30bdc
commit a97f64e084

View File

@@ -494,14 +494,15 @@ fn runTurn(self: *Agent, input: TurnInput) bool {
fn runRepl(self: *Agent) void {
if (self.ai_client) |_| {
self.terminal.printItalic(" Use natural language or commands", .{});
self.terminal.printItalic(" Control the Lightpanda browser with natural language and commands", .{});
} else {
self.terminal.printItalic(" Basic REPL (--no-llm) - commands only.", .{});
self.terminal.printItalic(" Control the Lightpanda browser with commands only (--no-llm).", .{});
self.terminal.printDimmed(" To enable natural language, " ++ llm_setup_hint ++ ".", .{});
}
self.terminal.printDimmed(" /help to list commands", .{});
self.terminal.printDimmed(" /quit to exit", .{});
self.terminal.printDimmed(" ! for JS mode", .{});
self.terminal.printDimmed(" /goto <url> to navigate", .{});
self.terminal.printDimmed(" /save to generate a reproductible script", .{});
self.terminal.printDimmed(" /help to list commands\t/quit to exit", .{});
self.terminal.printDimmed(" ! to evaluate JavaScript (on the current page's context)", .{});
log.debug(.app, "tools loaded", .{ .count = globalTools().len });
repl: while (true) {