sumeet-desai
Results
2
comments of
sumeet-desai
``` class FileServiceClient(glm.FileServiceClient): def __init__(self, *args, **kwargs): self._local = threading.local() super().__init__(*args, **kwargs) def _setup_discovery_api(self, metadata: dict | Sequence[tuple[str, str]] = ()): if not hasattr(self._local, 'discovery_api'): api_key = self._client_options.api_key if api_key...
@MarkDaoust I've raised it here https://github.com/google-gemini/generative-ai-python/pull/583