Prerequisites
Install
Use SDK adapter
Use theArbytraLlm adapter:
ArbytraLlm is a native BaseLlm implementation that supports text and function calling. It maps OpenAI API errors to typed Arbytra error classes.
inline_data and file_data parts raise NotImplementedError.Configure options
Configure routing
Pass aRoutingOptions instance to control routing:
Configure manually
Alternative: configure ADK with LiteLlm manually
Alternative: configure ADK with LiteLlm manually
If you prefer to use Google’s For routing options and typed error mapping, use
LiteLlm class directly:ArbytraLlm.