Skip to content

v0.6.0

Latest

Choose a tag to compare

@henomis henomis released this 21 Nov 09:41
a491439

Attempt records: agents can record what each attempt did, and stiggy-dashboard shows it. Built on phero v2.3.0 and packtrail v1.2.0.

  • Fleet setting: record: off | prompt | full on an agent (default off, because records hold prompts and tool results that can contain user data), and record_max_bytes (default 256 KiB, at least 1 KiB). prompt keeps the system prompt, the prompt of each model call, tools offered, the answer, and each call's time, model, tokens, cost and errors. full adds tool calls with arguments and results, and delegate runs as a tree. Remotes can record the prompt sent, the answer or error, and timing. Oversized records are cut and marked; a record never fails a step.
  • Dashboard: each recorded attempt has a toggle named by its outcome ("How it got this answer", "How it failed"), a Steps list with failed calls open, Expand all, attempt navigation, timeline bars that open a record, and a shareable link per record. A "Started with" box shows an execution's input. A step's tokens are split into in and out. New -trace-url flag (or $STIGGY_TRACE_URL) links a record to its trace.
  • API: GET /api/ns/{ns}/executions/{id}/records?node=&key=&generation=&attempt=.

What's Changed

  • Release v0.6.0: attempt records in the dashboard by @henomis in #6

Full Changelog: v0.5.0...v0.6.0