Admission Decision • AI Agent SDK

AdmissionDecision: Outcome of an inbound admission evaluation.

AdmissionDecision

Defined in the protocols module.

AI Agent

Outcome of an inbound admission evaluation.

  • `ADMIT` — capacity is available; run immediately.
  • `QUEUE` — at the concurrency ceiling but the wait queue has room;
  • block until a slot frees up.
  • `REJECT` — over capacity and the queue is full; shed the run with a
  • busy acknowledgement (a `503`-style signal to the user).

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4553