diff --git a/README.md b/README.md index 1441aa8..719ff40 100644 --- a/README.md +++ b/README.md @@ -98,13 +98,62 @@ vf conversation send --user-id quickstart-user --project-id "$PROJECT_ID" \ --action '{"type":"text","payload":"What can you help me with?"}' --output-format json ``` -The agent's replies arrive as `text` traces in the response. +The agent's replies arrive as `text` traces, mixed in with `debug`, `block`, `choice` and +`end` traces. A bare template turn returns six or so `debug` traces; every tool the agent +calls — knowledge base, web search — adds roughly four more, and a turn can return more than +one `text`. Do not count on the shape; select on it. -A new project starts from a **template**, so it answers immediately but introduces itself as a placeholder brand ("Acme Corp support") and its instructions still contain fill-in-the-blank prompts. Getting to *your* agent is the next step, not the last one: edit the instructions (`vf agent update`), add knowledge (`vf document create-url`), run tests (`vf test run create`), and publish (`vf environment publish`). +Filter by type, not by `.message`. Debug payloads carry a `.message` of their own, so an +unselective filter does not fail — it quietly returns the runtime's log lines interleaved with +the reply: + +```bash +vf conversation send --user-id quickstart-user --project-id "$PROJECT_ID" \ + --environment-alias main --version-param draft \ + --action '{"type":"text","payload":"What can you help me with?"}' \ + --output-format json