Skip to content

Support custom LiteLlm() providers in ADK Web UI model selector #355

@pradeepsinghjaroliya

Description

@pradeepsinghjaroliya

Right now, the Web UI only lets you choose fixed Gemini models (e.g., two predefined options). There’s no UI entry or configuration to select custom models via the LiteLlm integration, even though ADK can use
LiteLlm(model="your_provider/your_model", base_url=…, api_key=…)

Expected Behavior

In the Web UI Model Selector, include an option like:

  • Custom Model (LiteLLM)
  • Provider/Namespace (text input)
  • Model name (text input)
  • Base URL (text input)
  • API Key / Token (secure input)

So the UI would create a LiteLlm instance behind the scenes, and use that as the agent’s model. This mirrors what the docs show is already supported in the Python side of ADK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions