Skip to content
5 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

The model proxy holds each run to its cost cap itself: a run's session carries its cap, a 402 at the cap, and a run token reaches only the message routes (integrations 0006)1-- The most a run may spend on models, in millionths of a dollar: the lower
2-- of its project's cost cap and its plan's, set by the sandbox once it
3-- knows them. The model proxy refuses the run's requests past it. Null
4-- until set; the proxy then holds the run to the most any run may cost.
5ALTER TABLE model_sessions ADD COLUMN cap_micros INTEGER;