MargoviaRun is returned by margovia.startRun(...).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Methods available on a started run.
MargoviaRun is returned by margovia.startRun(...).
completeawait run.complete({
outcome: "reply_generated"
});
failawait run.fail({
error: "Provider timed out"
});
trackCostawait run.trackCost({
provider: "openai",
model: "gpt-5-mini",
inputTokens: 1200,
outputTokens: 300
});
stepawait run.step("openai_reply", () =>
openai.chat.completions.create({
model: "gpt-5-mini",
messages
})
);