llm-gemini 0.20a1__py3-none-any.whl → 0.20a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llm-gemini
3
- Version: 0.20a1
3
+ Version: 0.20a2
4
4
  Summary: LLM plugin to access Google's Gemini family of models
5
5
  Author: Simon Willison
6
6
  License-Expression: Apache-2.0
@@ -66,7 +66,8 @@ llm "A joke about a pelican and a walrus"
66
66
  Other models are:
67
67
 
68
68
  - `gemini-2.5-pro-preview-05-06` - latest paid Gemini 2.5 Pro preview
69
- - `gemini-2.5-flash-preview-04-17` - Gemini 2.5 Flash preview
69
+ - `gemini-2.5-flash-preview-05-20` - Gemini 2.5 Flash preview
70
+ - `gemini-2.5-flash-preview-04-17` - Earlier Gemini 2.5 Flash preview
70
71
  - `gemini-2.5-pro-exp-03-25` - free experimental release of Gemini 2.5 Pro
71
72
  - `gemini-2.5-pro-preview-03-25` - paid preview of Gemini 2.5 Pro
72
73
  - `gemma-3-27b-it` - [Gemma 3](https://blog.google/technology/developers/gemma-3/) 27B
@@ -0,0 +1,7 @@
1
+ llm_gemini.py,sha256=rHA904SF-06hjTf2bem219ZxK98DlS6BuUVLl92FffM,21465
2
+ llm_gemini-0.20a2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
3
+ llm_gemini-0.20a2.dist-info/METADATA,sha256=gQD_OgG2F6UP3Lpvf-TsfVIlCCx0djUualXyIwC24Bk,8139
4
+ llm_gemini-0.20a2.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
5
+ llm_gemini-0.20a2.dist-info/entry_points.txt,sha256=n544bpgUPIBc5l_cnwsTxPc3gMGJHPtAyqBNp-CkMWk,26
6
+ llm_gemini-0.20a2.dist-info/top_level.txt,sha256=WUQmG6_2QKbT_8W4HH93qyKl_0SUteL4Ra6_PhyNGKU,11
7
+ llm_gemini-0.20a2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
llm_gemini.py CHANGED
@@ -40,6 +40,7 @@ GOOGLE_SEARCH_MODELS = {
40
40
  "gemini-2.5-pro-exp-03-25",
41
41
  "gemini-2.5-flash-preview-04-17",
42
42
  "gemini-2.5-pro-preview-05-06",
43
+ "gemini-2.5-flash-preview-05-20",
43
44
  }
44
45
 
45
46
  # Older Google models used google_search_retrieval instead of google_search
@@ -55,6 +56,7 @@ GOOGLE_SEARCH_MODELS_USING_SEARCH_RETRIEVAL = {
55
56
 
56
57
  THINKING_BUDGET_MODELS = {
57
58
  "gemini-2.5-flash-preview-04-17",
59
+ "gemini-2.5-flash-preview-05-20",
58
60
  }
59
61
 
60
62
 
@@ -93,6 +95,8 @@ def register_models(register):
93
95
  "gemini-2.5-flash-preview-04-17",
94
96
  # 6th May 2025:
95
97
  "gemini-2.5-pro-preview-05-06",
98
+ # 20th May 2025:
99
+ "gemini-2.5-flash-preview-05-20",
96
100
  ]:
97
101
  can_google_search = model_id in GOOGLE_SEARCH_MODELS
98
102
  can_thinking_budget = model_id in THINKING_BUDGET_MODELS
@@ -1,7 +0,0 @@
1
- llm_gemini.py,sha256=sNxkRsDYpg7jwpcJn8tsSeBpvcyCCKW7-p_7lfggtk0,21322
2
- llm_gemini-0.20a1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
3
- llm_gemini-0.20a1.dist-info/METADATA,sha256=LfqVHeYfLTArvNEVZ9TcMmWXsQWH9Z1k_RZIx8RdJXo,8069
4
- llm_gemini-0.20a1.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
5
- llm_gemini-0.20a1.dist-info/entry_points.txt,sha256=n544bpgUPIBc5l_cnwsTxPc3gMGJHPtAyqBNp-CkMWk,26
6
- llm_gemini-0.20a1.dist-info/top_level.txt,sha256=WUQmG6_2QKbT_8W4HH93qyKl_0SUteL4Ra6_PhyNGKU,11
7
- llm_gemini-0.20a1.dist-info/RECORD,,