Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ optional-dependencies.extensions = [
"pypika>=0.50", # For crewai->chromadb dependency
"toolbox-adk>=1,<2", # For tools.toolbox_toolset.ToolboxToolset
]
optional-dependencies.oci = [ "oci>=2.170.0" ] # For OCI Generative AI model support
optional-dependencies.otel-gcp = [ "opentelemetry-instrumentation-google-genai>=0.6b0,<1" ]
optional-dependencies.slack = [ "slack-bolt>=1.22" ]
optional-dependencies.test = [
Expand Down
14 changes: 14 additions & 0 deletions src/google/adk/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from .gemma_llm import Gemma3Ollama
from .google_llm import Gemini
from .lite_llm import LiteLlm
from .oci_genai_llm import OCIGenAILlm

__all__ = [
'ApigeeLlm',
Expand All @@ -41,6 +42,7 @@
'Gemma3Ollama',
'LLMRegistry',
'LiteLlm',
'OCIGenAILlm',
]

_LAZY_PROVIDERS: dict[str, tuple[list[str], str]] = {
Expand Down Expand Up @@ -78,6 +80,18 @@
],
'lite_llm',
),
'OCIGenAILlm': (
[
r'meta\.llama-.*',
r'google\.gemini-.*',
r'google\.gemma-.*',
r'xai\.grok-.*',
r'mistralai\.mistral-.*',
r'mistralai\.mixtral-.*',
r'nvidia\..*',
],
'oci_genai_llm',
),
}

for _name, (_patterns, _module) in _LAZY_PROVIDERS.items():
Expand Down
Loading