python-fastllm 0.0.67__py3-none-any.whl → 0.0.68__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.
- fastllm/__init__.py +1 -1
- fastllm/types.py +10 -12
- {python_fastllm-0.0.67.dist-info → python_fastllm-0.0.68.dist-info}/METADATA +1 -1
- {python_fastllm-0.0.67.dist-info → python_fastllm-0.0.68.dist-info}/RECORD +7 -7
- {python_fastllm-0.0.67.dist-info → python_fastllm-0.0.68.dist-info}/WHEEL +0 -0
- {python_fastllm-0.0.67.dist-info → python_fastllm-0.0.68.dist-info}/entry_points.txt +0 -0
- {python_fastllm-0.0.67.dist-info → python_fastllm-0.0.68.dist-info}/top_level.txt +0 -0
fastllm/__init__.py
CHANGED
fastllm/types.py
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
# %% auto #0
|
|
6
6
|
__all__ = ['FinishReason', 'api_registry', 'vendor_auth', 'vendor_hdrs', 'model_prices_url', 'sample_img_url', 'sample_doms',
|
|
7
7
|
'haik45', 'haik', 'haik55', 'sonn45', 'sonn46', 'sonn5', 'sonn', 'sonn55', 'opus46', 'opus48', 'opus5',
|
|
8
|
-
'opus', 'opus55', 'fable', 'claude_models', 'gpt55', 'codex53spark', 'sol', '
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
8
|
+
'opus', 'opus55', 'fable', 'claude_models', 'gpt55', 'codex53spark', 'sol', 'terra', 'luna', 'astra',
|
|
9
|
+
'gpt6s', 'flash', 'model_info_registry', 'modern_llm', 'effort_codes', 'mimo_v25_common', 'codex_pricing',
|
|
10
|
+
'Usage', 'APIRegistry', 'mk_completion', 'rebuild_parts', 'fn_schema', 'payload_kwargs', 'provider_req',
|
|
11
|
+
'get_api_key', 'wrap_typed', 'unwrap_typed', 'resize_b64', 'model_prices_meta', 'infer_api_name',
|
|
12
|
+
'get_model_meta', 'register_model_info', 'get_model_info', 'effort_code', 'effort_levels', 'resolve_effort',
|
|
13
|
+
'effort_kwargs', 'register_sub_model', 'find_models', 'get_model_pricing', 'approx_pricing',
|
|
14
|
+
'is_deepseek_peak_hour', 'price_tier', 'tier_rate']
|
|
15
15
|
|
|
16
16
|
# %% ../nbs/00_types.ipynb #b4d047fd
|
|
17
17
|
import httpx2, base64, io
|
|
@@ -220,12 +220,10 @@ opus48 = "claude-opus-4-8"
|
|
|
220
220
|
opus5 = "claude-opus-5"
|
|
221
221
|
opus = opus55 = "claude-opus-5-5"
|
|
222
222
|
fable = 'claude-fable-5-1'
|
|
223
|
-
claude_models =
|
|
223
|
+
claude_models = haik55, sonn55, opus55, fable
|
|
224
224
|
gpt55 = "gpt-5.5"
|
|
225
225
|
codex53spark = "gpt-5.3-codex-spark"
|
|
226
|
-
sol,luna,astra = gpt6s = 'gpt-6-sol gpt-6-luna gpt-6-astra'.split()
|
|
227
|
-
sol,terra = 'gpt-6.1-sol', 'gpt-6.1-terra'
|
|
228
|
-
gpt56s = 'gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-5.6-luna'
|
|
226
|
+
sol,terra,luna,astra = gpt6s = 'gpt-6.1-sol gpt-6.1-terra gpt-6-luna gpt-6-astra'.split()
|
|
229
227
|
flash = 'models/gemini-3.8-flash'
|
|
230
228
|
|
|
231
229
|
# %% ../nbs/00_types.ipynb #583e017b
|
|
@@ -355,7 +353,7 @@ for model in claude_models: register_sub_model(model, 'claude_code', 'anthropic'
|
|
|
355
353
|
# %% ../nbs/00_types.ipynb #bb0c4c2a
|
|
356
354
|
# Codex serves only the suffixed names; bare `gpt-5.6` is rejected with a ChatGPT account.
|
|
357
355
|
# Its window accepts 371,331 input tokens and rejects 371,981 on all three GPT-5.6 models.
|
|
358
|
-
for model in
|
|
356
|
+
for model in gpt6s: register_sub_model(model, 'codex', 'openai', max_input_tokens=371_000)
|
|
359
357
|
|
|
360
358
|
# %% ../nbs/00_types.ipynb #004c0b30
|
|
361
359
|
def find_models(substr:str):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
fastllm/__init__.py,sha256=
|
|
1
|
+
fastllm/__init__.py,sha256=dQzPsBk6KhT2Gudv8udu5xeea2ngpFEuIRClzyiKnv0,131
|
|
2
2
|
fastllm/_modidx.py,sha256=G6B334J26CNKFkssHUoOedWDtZzn2i0wCe27CB_ebgk,48651
|
|
3
3
|
fastllm/acomplete.py,sha256=2eKl9EFDryw3vpf8tR-SAmdhFQZEVCHyOaBcYnGqlqk,11758
|
|
4
4
|
fastllm/anthropic.py,sha256=Ex0i3XC6wd8GvvkGCB2eLcIjG9I02ULhCFcgsUSxEdc,19317
|
|
@@ -10,9 +10,9 @@ fastllm/openai_chat.py,sha256=d4W6DDP4oasjaGQytmltSWs6EaXx7kWdjFIQTO6mljI,13246
|
|
|
10
10
|
fastllm/openai_responses.py,sha256=jcjVQ9_PfjdNudoUoCZMGsIWUG5S-RsPhQ0vP7JB2LI,15532
|
|
11
11
|
fastllm/responses.py,sha256=JQma6x33z2XIqhvz1xVseYbqoaPIZpSAQ04Vntbyk70,26605
|
|
12
12
|
fastllm/streaming.py,sha256=8RYbFoENDzfZbwR1eM1q_xOpnCDHP8h4EFZXOLG4g2w,8787
|
|
13
|
-
fastllm/types.py,sha256=
|
|
14
|
-
python_fastllm-0.0.
|
|
15
|
-
python_fastllm-0.0.
|
|
16
|
-
python_fastllm-0.0.
|
|
17
|
-
python_fastllm-0.0.
|
|
18
|
-
python_fastllm-0.0.
|
|
13
|
+
fastllm/types.py,sha256=wfBWVDbQucpXU5ygUbW_-2N1qsdiLXsQUrDNmwQsi4o,21324
|
|
14
|
+
python_fastllm-0.0.68.dist-info/METADATA,sha256=pTzZgZcym3q4XIgIvPMMux4h4sMnGeiGP7HYO4OtWoA,8901
|
|
15
|
+
python_fastllm-0.0.68.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
16
|
+
python_fastllm-0.0.68.dist-info/entry_points.txt,sha256=WkWd04F3xVYFP5bsexaQe9Se6uelwE5ULoTtHWreO0s,133
|
|
17
|
+
python_fastllm-0.0.68.dist-info/top_level.txt,sha256=F8qodL7nEGUHGmzzqfhNKCTIr1i0D6cvudOnm3z7o0Y,8
|
|
18
|
+
python_fastllm-0.0.68.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|