Appearance
Prompt Studio
Purpose: Iterate quickly on prompts and verify tool/RAG behavior before publishing or scheduling.
Controls
- Prompt name (optional).
- Target Model or Agent — pick a named model or an agent.
- Load prompt from agent — import an existing agent’s prompt for editing.
- Save prompt to agent — overwrite/save back (requires selecting the agent).
- Timeout (s) — server execution timeout.
- Streaming — toggle ON to see SSE deltas and Tool Events live (helpful for debugging).
- Hide Tool Events — toggle if you only want the final answer.
Usage pattern
- Select the agent you’re working on.
- Toggle Streaming ON and Show Tool Events to watch
tool_start/tool_endtraces. - Iterate: adjust the system prompt and re‑run until the trace and answer quality meet your criteria.
- Save prompt back to the agent.
API parity
- Chat run:
POST /v1/chat/completions(OpenAI‑compatible;modelmay be a model name, a published agent name, orshared/<ownerUsername>/<slug>) - Workflows test:
POST /v1/core/agent-workflow - Streaming uses OpenAI‑style SSE chunks
See Chat Completions and Core Utilities