This commit enhances the previously added Gemini summarization feature by making the specific Gemini model configurable via `config.toml`. Key changes: - Added `model_name` option to the `[gemini]` section in `utils/.config.template.toml`, defaulting to `gemini-1.5-pro-latest`. - `utils/gemini_client.py` now reads `model_name` from the configuration when initializing the `genai.GenerativeModel`. - Ensured `utils/settings.py` correctly loads this new optional setting. - Updated logging and comments to reflect the use of `gemini-1.5-pro-latest` as the default and the configurability of the model name. This allows users to adapt to newer Gemini models as they become available or choose different models based on their needs, while defaulting to a powerful current version.pull/2364/head
parent
1cb4be234a
commit
bc5e011d3b
Loading…
Reference in new issue