mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
agent: improve wording of the welcome message
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user