Skip to content

Commit cddbc31

Browse files
committed
Add agent command help and timeout option parsing
1 parent 6ae4f1f commit cddbc31

2 files changed

Lines changed: 407 additions & 70 deletions

File tree

src/CLI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ namespace vix
654654

655655
out << indent(2) << "Runtime and advanced:\n";
656656
docs("/cli/commands");
657+
out << indent(3) << "agent Run local AI agent commands\n";
657658
out << indent(3) << "p2p Run P2P node/tools\n";
658659
out << indent(3) << "orm Database migrations/status/rollback\n\n";
659660

@@ -683,6 +684,7 @@ namespace vix
683684
out << indent(2) << "vix make:class User\n";
684685
out << indent(2) << "vix add @cnerium/app\n";
685686
out << indent(2) << "vix install\n";
687+
out << indent(2) << "vix agent ask \"Explain Vix.cpp\" --model qwen2.5-coder:1.5b --timeout 120000\n";
686688
out << indent(2) << "vix help run\n\n";
687689

688690
out << indent(1) << "Links:\n";

0 commit comments

Comments
 (0)