Your first run
Open the Eva console, ask a question, read the answer, and see what it cost. Then do the same thing from a shell pipeline.
Open the console with no arguments:
evaType a question and press enter. Eva streams the answer as it arrives.
See what it cost
Type /cost. Eva prints what this session has spent.
Commands that begin with a slash are answered by the console itself. They never reach a model, so they cost nothing.
Answer once and exit
--print runs one prompt, writes the answer to stdout, and exits. This is the
form to use in a script.
eva --print "what does this repository do?"It is -p for short. The run exits non-zero when the answer fails, which makes
it safe in a pipeline:
eva -p "summarise the last commit" > summary.txtStop a run
Press Esc to interrupt a run in progress. Press it again to confirm. Press Ctrl+C twice to leave the console.