llm-gemini 0.22__py3-none-any.whl → 0.23__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.
- {llm_gemini-0.22.dist-info → llm_gemini-0.23.dist-info}/METADATA +12 -9
- llm_gemini-0.23.dist-info/RECORD +7 -0
- llm_gemini.py +10 -0
- llm_gemini-0.22.dist-info/RECORD +0 -7
- {llm_gemini-0.22.dist-info → llm_gemini-0.23.dist-info}/WHEEL +0 -0
- {llm_gemini-0.22.dist-info → llm_gemini-0.23.dist-info}/entry_points.txt +0 -0
- {llm_gemini-0.22.dist-info → llm_gemini-0.23.dist-info}/licenses/LICENSE +0 -0
- {llm_gemini-0.22.dist-info → llm_gemini-0.23.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: llm-gemini
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.23
|
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
|
@@ -75,10 +75,10 @@ result = runner.invoke(cli.cli, ["models", "-q", "gemini/"])
|
|
75
75
|
lines = reversed(result.output.strip().split("\n"))
|
76
76
|
to_output = []
|
77
77
|
NOTES = {
|
78
|
-
"gemini/gemini-2.5-pro
|
79
|
-
"gemini/gemini-2.5-flash
|
80
|
-
"gemini/gemini-2.5-flash-preview-
|
81
|
-
"gemini/gemini-2.5-
|
78
|
+
"gemini/gemini-2.5-pro": "Gemini 2.5 Pro",
|
79
|
+
"gemini/gemini-2.5-flash": "Gemini 2.5 Flash",
|
80
|
+
"gemini/gemini-2.5-flash-lite-preview-06-17": "Gemini 2.5 Lite Preview",
|
81
|
+
"gemini/gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash preview (priced differently from 2.5 Flash)",
|
82
82
|
"gemini/gemini-2.0-flash-thinking-exp-01-21": "Experimental \"thinking\" model from January 2025",
|
83
83
|
"gemini/gemini-1.5-flash-8b-latest": "The least expensive model",
|
84
84
|
}
|
@@ -93,12 +93,15 @@ for line in lines:
|
|
93
93
|
)
|
94
94
|
cog.out("\n".join(to_output))
|
95
95
|
]]] -->
|
96
|
-
- `gemini/gemini-2.5-pro
|
97
|
-
- `gemini/gemini-2.5-flash
|
96
|
+
- `gemini/gemini-2.5-pro`: Gemini 2.5 Pro
|
97
|
+
- `gemini/gemini-2.5-flash`: Gemini 2.5 Flash
|
98
|
+
- `gemini/gemini-2.5-flash-lite-preview-06-17`: Gemini 2.5 Lite Preview
|
99
|
+
- `gemini/gemini-2.5-pro-preview-06-05`
|
100
|
+
- `gemini/gemini-2.5-flash-preview-05-20`: Gemini 2.5 Flash preview (priced differently from 2.5 Flash)
|
98
101
|
- `gemini/gemini-2.5-pro-preview-05-06`
|
99
|
-
- `gemini/gemini-2.5-flash-preview-04-17
|
102
|
+
- `gemini/gemini-2.5-flash-preview-04-17`
|
100
103
|
- `gemini/gemini-2.5-pro-preview-03-25`
|
101
|
-
- `gemini/gemini-2.5-pro-exp-03-25
|
104
|
+
- `gemini/gemini-2.5-pro-exp-03-25`
|
102
105
|
- `gemini/gemini-2.0-flash-lite`
|
103
106
|
- `gemini/gemini-2.0-pro-exp-02-05`
|
104
107
|
- `gemini/gemini-2.0-flash`
|
@@ -0,0 +1,7 @@
|
|
1
|
+
llm_gemini.py,sha256=ppAIuYcHxZ5D-tgydVlK3Hk_CkjY2hBGbzcJwCjcdUA,23644
|
2
|
+
llm_gemini-0.23.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
3
|
+
llm_gemini-0.23.dist-info/METADATA,sha256=FHIbD5OVH06DnH_TdK8TqM8JpoWhlvAvRQODl2YbA2g,10500
|
4
|
+
llm_gemini-0.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
5
|
+
llm_gemini-0.23.dist-info/entry_points.txt,sha256=n544bpgUPIBc5l_cnwsTxPc3gMGJHPtAyqBNp-CkMWk,26
|
6
|
+
llm_gemini-0.23.dist-info/top_level.txt,sha256=WUQmG6_2QKbT_8W4HH93qyKl_0SUteL4Ra6_PhyNGKU,11
|
7
|
+
llm_gemini-0.23.dist-info/RECORD,,
|
llm_gemini.py
CHANGED
@@ -42,6 +42,9 @@ GOOGLE_SEARCH_MODELS = {
|
|
42
42
|
"gemini-2.5-pro-preview-05-06",
|
43
43
|
"gemini-2.5-flash-preview-05-20",
|
44
44
|
"gemini-2.5-pro-preview-06-05",
|
45
|
+
"gemini-2.5-pro",
|
46
|
+
"gemini-2.5-flash",
|
47
|
+
"gemini-2.5-flash-lite-preview-06-17",
|
45
48
|
}
|
46
49
|
|
47
50
|
# Older Google models used google_search_retrieval instead of google_search
|
@@ -64,6 +67,9 @@ THINKING_BUDGET_MODELS = {
|
|
64
67
|
"gemini-2.5-pro-preview-05-06",
|
65
68
|
"gemini-2.5-flash-preview-05-20",
|
66
69
|
"gemini-2.5-pro-preview-06-05",
|
70
|
+
"gemini-2.5-pro",
|
71
|
+
"gemini-2.5-flash",
|
72
|
+
"gemini-2.5-flash-lite-preview-06-17",
|
67
73
|
}
|
68
74
|
|
69
75
|
NO_VISION_MODELS = {"gemma-3-1b-it", "gemma-3n-e4b-it"}
|
@@ -146,6 +152,10 @@ def register_models(register):
|
|
146
152
|
"gemini-2.5-flash-preview-05-20",
|
147
153
|
# 5th June 2025:
|
148
154
|
"gemini-2.5-pro-preview-06-05",
|
155
|
+
# 17th June 2025:
|
156
|
+
"gemini-2.5-flash-lite-preview-06-17",
|
157
|
+
"gemini-2.5-flash",
|
158
|
+
"gemini-2.5-pro",
|
149
159
|
):
|
150
160
|
can_google_search = model_id in GOOGLE_SEARCH_MODELS
|
151
161
|
can_thinking_budget = model_id in THINKING_BUDGET_MODELS
|
llm_gemini-0.22.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
llm_gemini.py,sha256=7fQS6-TXPRSDyFZ4rDWQXSNWV4D_TvG9geg5ylJ5uwE,23339
|
2
|
-
llm_gemini-0.22.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
3
|
-
llm_gemini-0.22.dist-info/METADATA,sha256=AYLE8wlLePrJ2kVbyizFYAsXTFsbxzF4H9FclR9PKyc,10456
|
4
|
-
llm_gemini-0.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
5
|
-
llm_gemini-0.22.dist-info/entry_points.txt,sha256=n544bpgUPIBc5l_cnwsTxPc3gMGJHPtAyqBNp-CkMWk,26
|
6
|
-
llm_gemini-0.22.dist-info/top_level.txt,sha256=WUQmG6_2QKbT_8W4HH93qyKl_0SUteL4Ra6_PhyNGKU,11
|
7
|
-
llm_gemini-0.22.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|