Skip to main content

Module result

Module result 

Source
Expand description

lev result <run-id> - print what an agent handed back.

There was no way to read a finished run’s answer from the command line. The run’s logs were on disk and lev ps reported its status, but the thing the agent actually concluded lived nowhere a shell could reach it - the only surface serving it was GET /api/agents/{id}/result, which needed a running lev serve.

Read-only and daemon-free: everything comes from the run’s meta.json, so this answers for a run that finished last week as readily as one that finished a second ago.

Structs§

ResultArgs
Arguments for lev result.

Functions§

execute
Execute lev result.