mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-10 22:43:37 +00:00
docs(cli): remove stale fabro llm references
This commit is contained in:
parent
420f82180e
commit
f1be4192a4
6 changed files with 11 additions and 52 deletions
|
|
@ -50,7 +50,7 @@ The OpenAPI spec at `docs/api-reference/fabro-api.yaml` is the source of truth f
|
|||
Fabro is an AI-powered workflow orchestration platform. Workflows are defined as Graphviz graphs, where each node is a stage (agent, prompt, command, conditional, human, parallel, etc.) executed by the workflow engine.
|
||||
|
||||
### Rust crates (`lib/crates/`)
|
||||
- **fabro-cli** — CLI entry point. Commands: `run`, `exec`, `serve`, `validate`, `parse`, `cp`, `model`, `doctor`, `install`, `ps`, `system prune`, `llm`
|
||||
- **fabro-cli** — CLI entry point. Commands: `run`, `exec`, `serve`, `validate`, `parse`, `cp`, `model`, `doctor`, `install`, `ps`, `system prune`
|
||||
- **fabro-workflow** — Core workflow engine. Parses Graphviz graphs, runs stages, manages checkpoints/resume, hooks, retros, and human-in-the-loop interactions
|
||||
- **fabro-agent** — AI coding agent with tool use (Bash, Read, Write, Edit, Glob, Grep, WebFetch). `Sandbox` trait abstracts execution environments
|
||||
- **fabro-server** — Axum HTTP server. Routes for runs, sessions, models, completions, usage. SSE event streaming. Demo mode via header
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ Or use the `--server-url` flag:
|
|||
fabro --server-url https://fabro.example.com:3000/api/v1 model list
|
||||
```
|
||||
|
||||
This applies to commands like `fabro model list`, `fabro llm chat`, and `fabro exec`. See [User Configuration](/reference/user-configuration#mode) for the full options including mTLS setup.
|
||||
This applies to commands like `fabro model list`, `fabro model test`, and `fabro exec`. See [User Configuration](/reference/user-configuration#mode) for the full options including mTLS setup.
|
||||
|
||||
## Next steps
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Persistent chat sessions with SQLite storage. Start a conversation with an agent
|
|||
</Accordion>
|
||||
|
||||
<Accordion title="CLI">
|
||||
- `fabro llm chat` command for interactive multi-turn conversations with any configured model
|
||||
- Introduced interactive CLI chat sessions via the now-removed `fabro llm chat` command
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Improvements">
|
||||
|
|
|
|||
|
|
@ -7,12 +7,7 @@ date: "2026-03-07"
|
|||
|
||||
Fabro now exposes a `POST /completions` endpoint for single-turn LLM completions. You can use it for structured output via JSON Schema, one-off prompts, or building custom frontends on top of Fabro's model routing. Streaming uses Anthropic-style SSE events (`message_start`, `content_block_delta`, `message_stop`, etc.), so you get tokens as they're generated rather than waiting for the full response.
|
||||
|
||||
The CLI's `fabro llm` commands can now target the server instead of calling providers directly:
|
||||
|
||||
```bash
|
||||
fabro llm prompt "Summarize this file" --server-url http://localhost:3000
|
||||
fabro llm chat --server-url http://localhost:3000
|
||||
```
|
||||
At the time of this release, the CLI's `fabro llm` commands could target the server instead of calling providers directly. That CLI namespace has since been removed.
|
||||
|
||||
## Two new sandbox providers: exe.dev and Sprites
|
||||
|
||||
|
|
@ -63,13 +58,12 @@ To migrate, regenerate your TypeScript client and update any direct API calls.
|
|||
- New `POST /completions` endpoint for single-turn LLM completions with SSE streaming and structured output via JSON Schema
|
||||
- New `GET /models` endpoint exposes the full LLM model catalog with pagination
|
||||
- New `POST /models/{id}/test` endpoint for testing model connectivity in server mode
|
||||
- Session endpoints for interactive LLM chat via `fabro llm chat --server-url http://localhost:3000`
|
||||
- Session endpoints for interactive LLM chat; the old `fabro llm chat` CLI wrapper has since been removed
|
||||
- Verification API reorganized: `/verifications` split into `/verification/criteria` and `/verification/controls`
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="CLI">
|
||||
- `fabro llm prompt --server-url <url>` routes prompts through the Fabro server
|
||||
- `fabro llm chat --server-url <url>` enables interactive chat sessions through the server
|
||||
- This release added `fabro llm prompt/chat --server-url`, but the `fabro llm` CLI namespace was later removed
|
||||
- `fabro model list --server-url <url>` fetches the model list from the Fabro server
|
||||
- Added `--goal` arg to `fabro run start` to override the workflow goal from the command line
|
||||
- Turn and tool-call counts now display correctly in non-TTY mode
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ output_format = "text"
|
|||
model = "claude-sonnet-4-5"
|
||||
```
|
||||
|
||||
`[exec]` config applies to `fabro exec`. `[llm]` sets the default workflow model/provider for commands like `fabro run` and `fabro preflight`.
|
||||
|
||||
CLI flags always override `user.toml` values, which override hardcoded defaults.
|
||||
|
||||
---
|
||||
|
|
@ -255,44 +257,6 @@ Permission levels control which tools are auto-approved: `read-only` allows read
|
|||
|
||||
---
|
||||
|
||||
## `fabro llm prompt`
|
||||
|
||||
Send a one-shot prompt to an LLM. Accepts a prompt as an argument, via stdin, or both (stdin is prepended).
|
||||
|
||||
```bash
|
||||
fabro llm prompt "Explain quicksort in one paragraph"
|
||||
echo "Summarize this:" | fabro llm prompt
|
||||
fabro llm prompt "Translate to French" -m claude-sonnet-4-5 -o temperature=0.3
|
||||
fabro llm prompt -S '{"type":"object","properties":{"name":{"type":"string"}}}' "Extract the name from: John Smith"
|
||||
```
|
||||
|
||||
| Argument / Flag | Description |
|
||||
|---|---|
|
||||
| `[PROMPT]` | The prompt text (also accepts stdin) |
|
||||
| `-m, --model <MODEL>` | Model to use |
|
||||
| `-s, --system <SYSTEM>` | System prompt |
|
||||
| `--no-stream` | Do not stream output |
|
||||
| `-u, --usage` | Show token usage |
|
||||
| `-S, --schema <SCHEMA>` | JSON schema for structured output (inline JSON string) |
|
||||
| `-o, --option <KEY=VALUE>` | Generation options: `temperature`, `max_tokens`, `top_p`, or provider-specific keys |
|
||||
|
||||
## `fabro llm chat`
|
||||
|
||||
Start an interactive multi-turn chat session. In server mode, the session is backed by the Fabro server's session endpoints.
|
||||
|
||||
```bash
|
||||
fabro llm chat
|
||||
fabro llm chat -m claude-opus-4-6 -s "You are a helpful coding assistant"
|
||||
fabro llm chat --server-url http://localhost:3000/api/v1
|
||||
```
|
||||
|
||||
| Flag | Description |
|
||||
|---|---|
|
||||
| `-m, --model <MODEL>` | Model to use |
|
||||
| `-s, --system <SYSTEM>` | System prompt |
|
||||
|
||||
---
|
||||
|
||||
## `fabro model list`
|
||||
|
||||
List available LLM models from the built-in catalog. Running `fabro model` with no subcommand also lists models.
|
||||
|
|
|
|||
|
|
@ -118,14 +118,15 @@ Tools outside the permission level are interactively prompted (if a TTY is prese
|
|||
|
||||
## `[llm]` section
|
||||
|
||||
Defaults for `fabro llm prompt` and `fabro llm chat`.
|
||||
Defaults for workflow model selection in commands like `fabro run` and `fabro preflight`.
|
||||
|
||||
| Key | Description | Values | Default |
|
||||
|---|---|---|---|
|
||||
| `model` | Model name | Any model ID from `fabro model list` | Per provider |
|
||||
| `provider` | Provider name | `"anthropic"`, `"openai"`, `"gemini"`, etc. | Auto-inferred from model/catalog |
|
||||
|
||||
<Note>
|
||||
The `[llm]` section only sets the default model. Use `[exec]` to configure provider, permissions, and output format for `fabro exec`.
|
||||
Use `[exec]` to configure provider, permissions, and output format for `fabro exec`. Use `[llm]` for workflow-oriented defaults.
|
||||
</Note>
|
||||
|
||||
## `[log]` section
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue