python-fastllm 0.0.35__tar.gz → 0.0.37__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.
Files changed (28) hide show
  1. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/PKG-INFO +2 -3
  2. python_fastllm-0.0.37/fastllm/__init__.py +1 -0
  3. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/chat.py +1 -1
  4. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/types.py +4 -2
  5. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/pyproject.toml +1 -1
  6. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/PKG-INFO +2 -3
  7. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/requires.txt +1 -2
  8. python_fastllm-0.0.35/fastllm/__init__.py +0 -1
  9. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/README.md +0 -0
  10. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/_modidx.py +0 -0
  11. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/acomplete.py +0 -0
  12. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/anthropic.py +0 -0
  13. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/codex.py +0 -0
  14. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/gemini.py +0 -0
  15. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/openai_chat.py +0 -0
  16. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/openai_responses.py +0 -0
  17. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/anthropic.json +0 -0
  18. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/anthropic.yml +0 -0
  19. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/gemini.json +0 -0
  20. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/openai.with-code-samples.json +0 -0
  21. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/openai.with-code-samples.yml +0 -0
  22. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/specs/spec_manifest.json +0 -0
  23. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/fastllm/streaming.py +0 -0
  24. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/SOURCES.txt +0 -0
  25. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/dependency_links.txt +0 -0
  26. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/entry_points.txt +0 -0
  27. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/python_fastllm.egg-info/top_level.txt +0 -0
  28. {python_fastllm-0.0.35 → python_fastllm-0.0.37}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fastllm
3
- Version: 0.0.35
3
+ Version: 0.0.37
4
4
  Author-email: Kerem Turgutlu <keremturgutlu@gmail.com>
5
5
  License: Apache-2.0
6
6
  Project-URL: Repository, https://github.com/AnswerDotAI/fastllm
@@ -9,10 +9,9 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3 :: Only
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
- Requires-Dist: fastcore>=2.1.11
12
+ Requires-Dist: fastcore>=2.1.18
13
13
  Requires-Dist: aidialog>=0.0.5
14
14
  Requires-Dist: fastspec>=0.0.11
15
- Requires-Dist: toolslm
16
15
  Requires-Dist: pillow
17
16
 
18
17
  # fastllm
@@ -0,0 +1 @@
1
+ __version__ = "0.0.37"
@@ -11,7 +11,7 @@ __all__ = ['effort', 'remove_cache_ckpts', 'contents', 'stop_reason', 'mk_msg',
11
11
 
12
12
  # %% ../nbs/07_chat.ipynb #d5a3bc1f
13
13
  from typing import Optional,Callable
14
- from toolslm.funccall import mk_ns, call_func, call_func_async, get_schema
14
+ from fastcore.funccall import mk_ns, call_func, call_func_async, get_schema
15
15
  from fastcore.utils import *
16
16
  from fastcore.meta import delegates
17
17
  from dataclasses import dataclass
@@ -229,7 +229,7 @@ register_model_info('gpt-5.4', vendor_name='openai', base='gpt-5.4', supports_we
229
229
  # Upstream metadata says 1,050,000 input tokens for gpt-5.4-mini, but OpenAI documents a 272k limit
230
230
  register_model_info('gpt-5.4-mini', vendor_name='openai', base='gpt-5.4-mini', supports_web_search=True, mode=None, max_input_tokens=272_000)
231
231
 
232
- for model in ('kimi-k2.5', 'kimi-k2.6'):
232
+ for model in ('kimi-k2.5', 'kimi-k2.6' , 'kimi-k3'):
233
233
  register_model_info(model, vendor_name='moonshot', base=f'moonshot/{model}', base_vendor_name=None,
234
234
  supports_reasoning=True, supports_vision=True, supports_assistant_prefill=True)
235
235
 
@@ -242,9 +242,11 @@ register_model_info('accounts/fireworks/models/kimi-k2p5', vendor_name='firework
242
242
  register_model_info('accounts/fireworks/models/kimi-k2p6', vendor_name='fireworks_ai', base='accounts/fireworks/models/kimi-k2p5',
243
243
  supports_reasoning=True, supports_vision=True,
244
244
  input_cost_per_token=0.95e-6, cache_read_input_token_cost=0.16e-6, output_cost_per_token=4.0e-6)
245
-
246
245
  register_model_info('kimi-k2.7-code', vendor_name='moonshot', base='kimi-k2.6',
247
246
  input_cost_per_token=0.95e-6, cache_read_input_token_cost=0.19e-6, output_cost_per_token=4.0e-6)
247
+ register_model_info('kimi-k3', vendor_name='moonshot', base='kimi-k2.6',
248
+ supports_reasoning=True, supports_vision=True, max_input_tokens=1_000_000,
249
+ input_cost_per_token=3e-6, cache_read_input_token_cost=0.30e-6, output_cost_per_token=15.0e-6)
248
250
 
249
251
  # %% ../nbs/00_types.ipynb #948d55d0
250
252
  deepseek_v4_common = dict(**modern_llm, supports_assistant_prefill=True,
@@ -15,7 +15,7 @@ classifiers = [
15
15
  "Programming Language :: Python :: 3",
16
16
  "Programming Language :: Python :: 3 :: Only",
17
17
  ]
18
- dependencies = ['fastcore>=2.1.11', 'aidialog>=0.0.5', 'fastspec>=0.0.11', 'toolslm', 'pillow']
18
+ dependencies = ['fastcore>=2.1.18', 'aidialog>=0.0.5', 'fastspec>=0.0.11', 'pillow']
19
19
 
20
20
  [project.urls]
21
21
  Repository = "https://github.com/AnswerDotAI/fastllm"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fastllm
3
- Version: 0.0.35
3
+ Version: 0.0.37
4
4
  Author-email: Kerem Turgutlu <keremturgutlu@gmail.com>
5
5
  License: Apache-2.0
6
6
  Project-URL: Repository, https://github.com/AnswerDotAI/fastllm
@@ -9,10 +9,9 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3 :: Only
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
- Requires-Dist: fastcore>=2.1.11
12
+ Requires-Dist: fastcore>=2.1.18
13
13
  Requires-Dist: aidialog>=0.0.5
14
14
  Requires-Dist: fastspec>=0.0.11
15
- Requires-Dist: toolslm
16
15
  Requires-Dist: pillow
17
16
 
18
17
  # fastllm
@@ -1,5 +1,4 @@
1
- fastcore>=2.1.11
1
+ fastcore>=2.1.18
2
2
  aidialog>=0.0.5
3
3
  fastspec>=0.0.11
4
- toolslm
5
4
  pillow
@@ -1 +0,0 @@
1
- __version__ = "0.0.35"