InputBudgetExceededException
A counted effective request cannot leave the caller's declared output reserve.
InputBudgetExceededException::__construct()
public function __construct(int $inputTokens, int $contextTokens, int $outputTokens, string $requestSha256):The adapter must bind this count to the complete body it would actually dispatch.
Parameters
| Name | Type | Description |
|---|---|---|
| $inputTokens | int | |
| $contextTokens | int | |
| $outputTokens | int | |
| $requestSha256 | string |
InputBudgetExceededException::receipt()
public function receipt(): arrayCounted input is distinct from the legacy estimate.