agent: synthesize scripts on /save using LLM

This commit is contained in:
Adrià Arrufat committed 2026-06-02 15:23:33 +02:00
1 parent 3bbe20735f
commit 8739fbcb4b
2 files changed
+263 -17

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ pub const meta_commands = [_]MetaCommand{
.{ .tag = .help, .name = "help", .hint = "[command]", .values = &.{}, .description = "List commands, or show help for one" },
.{ .tag = .quit, .name = "quit", .hint = "", .values = &.{}, .description = "Exit the REPL" },
.{ .tag = .verbosity, .name = "verbosity", .hint = "<low|medium|high>", .values = &.{ "low", "medium", "high" }, .description = "Set agent verbosity" },
.{ .tag = .save, .name = "save", .hint = "[filename.js]", .values = &.{}, .description = "Save this session to a file" },
.{ .tag = .save, .name = "save", .hint = "[filename.js] [prompt]", .values = &.{}, .description = "Save this session to a file" },
.{ .tag = .model, .name = "model", .hint = "[name]", .values = &.{}, .description = "Change the model" },
.{ .tag = .provider, .name = "provider", .hint = "[name]", .values = &.{}, .description = "Change the provider" },
};