python-fastllm 0.0.32__tar.gz → 0.0.33__tar.gz
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.
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/PKG-INFO +1 -1
- python_fastllm-0.0.33/fastllm/__init__.py +1 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/types.py +13 -20
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/PKG-INFO +1 -1
- python_fastllm-0.0.32/fastllm/__init__.py +0 -1
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/README.md +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/_modidx.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/acomplete.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/anthropic.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/chat.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/codex.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/gemini.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/openai_chat.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/openai_responses.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/anthropic.json +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/anthropic.yml +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/gemini.json +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/openai.with-code-samples.json +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/openai.with-code-samples.yml +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/specs/spec_manifest.json +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/fastllm/streaming.py +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/pyproject.toml +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/SOURCES.txt +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/dependency_links.txt +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/entry_points.txt +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/requires.txt +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/top_level.txt +0 -0
- {python_fastllm-0.0.32 → python_fastllm-0.0.33}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.33"
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_types.ipynb.
|
|
4
4
|
|
|
5
5
|
# %% auto #0
|
|
6
|
-
__all__ = ['FinishReason', 'api_registry', 'model_prices_url', 'haik45', 'sonn45', '
|
|
7
|
-
'
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'get_model_info', 'get_model_pricing', 'approx_pricing',
|
|
6
|
+
__all__ = ['FinishReason', 'api_registry', 'model_prices_url', 'haik45', 'sonn45', 'sonn46', 'sonn', 'sonn5', 'opus46', 'opus48',
|
|
7
|
+
'opus', 'opus5', 'fable', 'fable5', 'gpt54', 'gpt54m', 'gpt55', 'codex54', 'codex54m', 'codex55',
|
|
8
|
+
'codex53spark', 'model_info_registry', 'modern_llm', 'deepseek_v4_common', 'mimo_v25_common',
|
|
9
|
+
'codex_pricing', 'sol', 'terra', 'luna', 'gpt56s', 'Usage', 'Completion', 'APIRegistry', 'mk_completion',
|
|
10
|
+
'fn_schema', 'payload_kwargs', 'get_api_key', 'resize_b64', 'model_prices_meta', 'infer_api_name',
|
|
11
|
+
'get_model_meta', 'register_model_info', 'get_model_info', 'get_model_pricing', 'approx_pricing',
|
|
12
|
+
'is_deepseek_peak_hour']
|
|
12
13
|
|
|
13
14
|
# %% ../nbs/00_types.ipynb #b4d047fd
|
|
14
15
|
import httpx, base64, io
|
|
@@ -158,10 +159,12 @@ def get_model_meta(model, vendor_name=None, tfm=noop):
|
|
|
158
159
|
# %% ../nbs/00_types.ipynb #60607e23
|
|
159
160
|
haik45 = "claude-haiku-4-5"
|
|
160
161
|
sonn45 = "claude-sonnet-4-5"
|
|
161
|
-
|
|
162
|
-
sonn5 = "claude-sonnet-5"
|
|
162
|
+
sonn46 = "claude-sonnet-4-6"
|
|
163
|
+
sonn = sonn5 = "claude-sonnet-5"
|
|
163
164
|
opus46 = "claude-opus-4-6"
|
|
164
|
-
|
|
165
|
+
opus48 = "claude-opus-4-8"
|
|
166
|
+
opus = opus5 = "claude-opus-5"
|
|
167
|
+
fable = fable5 = 'claude-fable-5'
|
|
165
168
|
gpt54 = "gpt-5.4"
|
|
166
169
|
gpt54m = "gpt-5.4-mini"
|
|
167
170
|
gpt55 = "gpt-5.5"
|
|
@@ -186,9 +189,6 @@ def get_model_info(mn, vendor_name=None):
|
|
|
186
189
|
if 'search_context_cost_per_query' in info: info['supports_web_search'] = True
|
|
187
190
|
return dict2obj(info)
|
|
188
191
|
|
|
189
|
-
# %% ../nbs/00_types.ipynb #331c5d0a
|
|
190
|
-
register_model_info("claude-opus-4-8", vendor_name='anthropic', base="claude-opus-4-6")
|
|
191
|
-
|
|
192
192
|
# %% ../nbs/00_types.ipynb #b36178d4
|
|
193
193
|
modern_llm = dict(supports_function_calling=True, supports_tool_choice=True, supports_prompt_caching=True,
|
|
194
194
|
supports_parallel_function_calling=True, supports_native_streaming=True, supports_native_structured_output=True,
|
|
@@ -259,10 +259,6 @@ register_model_info('mimo-v2.5-pro-ultraspeed', vendor_name='mimo', **mimo_v25_c
|
|
|
259
259
|
# %% ../nbs/00_types.ipynb #defb1c5c
|
|
260
260
|
register_model_info('MiniMax-M3', vendor_name='minimax', **modern_llm, max_input_tokens=512_000, max_output_tokens=512_000, max_tokens=512_000, input_cost_per_token=0.3e-6, output_cost_per_token=1.2e-6, cache_read_input_token_cost=0.06e-6, supports_vision=True, supports_video_input=True)
|
|
261
261
|
|
|
262
|
-
register_model_info('claude-fable-5', vendor_name='anthropic', base="claude-opus-4-8",
|
|
263
|
-
input_cost_per_token=10e-6, cache_creation_input_token_cost=12.5e-6, output_cost_per_token=50e-6,
|
|
264
|
-
cache_read_input_token_cost=1e-6, search_context_cost_per_query=0.005)
|
|
265
|
-
|
|
266
262
|
# %% ../nbs/00_types.ipynb #4e1b40b3
|
|
267
263
|
register_model_info('muse-spark-1.1', vendor_name='meta_ai', **modern_llm,
|
|
268
264
|
max_input_tokens=1_048_576, max_output_tokens=128000, max_tokens=128000,
|
|
@@ -283,12 +279,9 @@ register_model_info(codex53spark, 'codex', **codex_pricing,
|
|
|
283
279
|
max_tokens=128000, max_input_tokens=128000, max_output_tokens=128000)
|
|
284
280
|
|
|
285
281
|
# %% ../nbs/00_types.ipynb #5d3e4720
|
|
286
|
-
for model in (haik45, sonn45, sonn46, sonn5, opus46,
|
|
282
|
+
for model in (haik45, sonn45, sonn46, sonn5, opus46, opus48, opus5, fable5):
|
|
287
283
|
register_model_info(model, 'claude_code', base=model, base_vendor_name='anthropic', **codex_pricing)
|
|
288
284
|
|
|
289
|
-
# %% ../nbs/00_types.ipynb #60630540
|
|
290
|
-
register_model_info(sonn5, base=sonn5, max_input_tokens=760_000)
|
|
291
|
-
|
|
292
285
|
# %% ../nbs/00_types.ipynb #bb0c4c2a
|
|
293
286
|
sol,terra,luna = gpt56s = 'gpt-5.6-sol gpt-5.6-terra gpt-5.6-luna'.split()
|
|
294
287
|
for model in ['gpt-5.6']+gpt56s:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.32"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_fastllm-0.0.32 → python_fastllm-0.0.33}/python_fastllm.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|