Package-level declarations
Types
Raised when an LLM gateway call fails for any reason — transport, deserialisation, provider rejection, or an unexpected response shape.
Raised when the broker exhausts com.mojentic.llm.CompletionConfig.maxToolIterations while recursively executing tool calls.
Base type for all exceptions thrown by Mojentic library code at API boundaries.
Raised when a realtime voice gateway call fails — transport (WebSocket) failure, protocol violation, deserialisation error, or provider rejection.
Raised when tool execution fails for a reason inherent to the tool itself (bad arguments, downstream error). The broker serialises this into a tool- result message and continues; callers using the tool runner directly receive it on the failed outcome.
Raised when a web-search gateway call fails for any reason — transport, deserialisation, vendor rejection, or an unexpected response shape.