Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge pull request #4577 from milind-soni/feat/cli-send-task-new

Milind Sonide0859516ad4
diff --cc docs/headless-cli.md
index 67ee5c654f,39d09512c6..2d97f34244
--- a/docs/headless-cli.md
+++ b/docs/headless-cli.md
@@@ -71,10 -70,9 +71,10 @@@ one of its conversations
| Command | What it does |
|---|---|
| `doctor [--wait 2m]` | Checks the server answers, is new enough, who you are to it (and when your session expires), that an engine is ready, and whether bots have a browser. |
+| `doctor --host` | Checks this Linux machine can run the server and the bots' sandbox (below). |
| `bots`, `channels`, `models` | Your bots and what each is doing, your rooms, the engines and the models each offers. |
| `messages TARGET [--limit 30]` | The latest messages of a conversation. |
- | `send TARGET TEXT` | Sends one message and returns at once. `--send-id ID` makes a retry safe: the same id never sends twice. |
+ | `send TARGET TEXT` | Sends one message and returns at once, to the conversation the bot or room has open. `--task new` starts a new conversation for it (`--title` names it, else the message's first line), and `--task ID` picks one. It says which conversation it went to. `--send-id ID` makes a retry safe: the same id never sends twice. |
| `run TARGET TEXT` | Gives a bot or room one job and waits until it is done (below). |
| `wait TARGET` | Waits on work already running. |
| `interrupt TARGET [--tree]` | Presses Stop. `--tree` also stops every teammate still working on its job, in that teammate's own conversation. |