fix: correct type annotation

Overridden `supported_models` should be a `classmethod` rather than a `staticmethod`.

PiperOrigin-RevId: 790989895
This commit is contained in:
Google Team Member
2025-08-04 19:25:52 -07:00
committed by Copybara-Service
parent 283303032a
commit 97318bcd19
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -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: