Add word count from iG8R

Improve Bing provider
Some gui improvments
Improve error handling in gui
This commit is contained in:
Heiner Lohaus 2024-03-09 19:05:05 +01:00
parent 14167671d4
commit 74a33f10dd
5 changed files with 122 additions and 119 deletions

View file

@ -32,7 +32,7 @@ class GeminiPro(AsyncGeneratorProvider, ProviderModelMixin):
connector: BaseConnector = None,
**kwargs
) -> AsyncResult:
model = "gemini-pro-vision" if model is None and image is not None else model
model = "gemini-pro-vision" if not model and image is not None else model
model = cls.get_model(model)
if not api_key: