mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-14 18:01:21 +00:00
Each response that starts runs `ai.prompt.validate` on the text the client sent since the previous check (instructions, message text and transcripts, function call output), and its usage follows as `ai.prompt.cost-calculated` under the same completion id. A refusal closes the session with `permission_denied`. Nothing runs when no host listens for the check.