mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: correct type annotation
Overridden `supported_models` should be a `classmethod` rather than a `staticmethod`. PiperOrigin-RevId: 790989895
This commit is contained in:
committed by
Copybara-Service
parent
283303032a
commit
97318bcd19
@@ -75,9 +75,9 @@ class Gemini(BaseLlm):
|
||||
```
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
@classmethod
|
||||
@override
|
||||
def supported_models() -> list[str]:
|
||||
def supported_models(cls) -> list[str]:
|
||||
"""Provides the list of supported models.
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user