prompture 0.0.48__tar.gz → 0.0.49__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.
- {prompture-0.0.48 → prompture-0.0.49}/PKG-INFO +1 -1
- prompture-0.0.49/VERSION +1 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/_version.py +2 -2
- {prompture-0.0.48 → prompture-0.0.49}/prompture/cost_mixin.py +1 -1
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/moonshot_driver.py +10 -2
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/PKG-INFO +1 -1
- prompture-0.0.48/VERSION +0 -1
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-driver/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-driver/references/driver-template.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-example/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-field/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-persona/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-test/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-tool/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/run-tests/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/scaffold-extraction/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.claude/skills/update-pricing/SKILL.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.env.copy +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/FUNDING.yml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/scripts/update_docs_version.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/scripts/update_wrapper_version.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/workflows/dev.yml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/workflows/documentation.yml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/.github/workflows/publish.yml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/CLAUDE.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/LICENSE +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/MANIFEST.in +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/README.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/ROADMAP.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/_static/custom.css +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/_templates/footer.html +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/core.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/drivers.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/field_definitions.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/index.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/runner.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/tools.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/api/validator.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/conf.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/contributing.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/examples.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/field_definitions_reference.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/index.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/installation.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/quickstart.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/docs/source/toon_input_guide.rst +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/README.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_json/README.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_json/llm_to_json/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_json/pyproject.toml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_json/test.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_toon/README.md +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_toon/llm_to_toon/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_toon/pyproject.toml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/packages/llm_to_toon/test.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/agent.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/agent_types.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/aio/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/async_agent.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/async_conversation.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/async_core.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/async_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/async_groups.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/cache.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/callbacks.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/cli.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/conversation.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/core.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/discovery.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/airllm_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_airllm_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_azure_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_claude_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_google_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_grok_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_groq_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_hugging_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_lmstudio_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_local_http_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_modelscope_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_moonshot_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_ollama_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_openai_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_openrouter_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_registry.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/async_zai_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/azure_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/claude_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/google_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/grok_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/groq_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/hugging_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/lmstudio_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/local_http_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/modelscope_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/ollama_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/openai_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/openrouter_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/registry.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/vision_helpers.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/drivers/zai_driver.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/field_definitions.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/group_types.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/groups.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/image.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/ledger.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/logging.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/model_rates.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/persistence.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/persona.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/runner.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/__init__.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/generator.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/Dockerfile.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/README.md.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/config.py.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/env.example.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/main.py.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/models.py.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/scaffold/templates/requirements.txt.j2 +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/serialization.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/server.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/session.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/settings.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/simulated_tools.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/tools.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/tools_schema.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture/validator.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/SOURCES.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/dependency_links.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/entry_points.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/requires.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/prompture.egg-info/top_level.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/pyproject.toml +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/requirements.txt +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/setup.cfg +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/test.py +0 -0
- {prompture-0.0.48 → prompture-0.0.49}/test_version_diagnosis.py +0 -0
prompture-0.0.49/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.0.49
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.0.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
31
|
+
__version__ = version = '0.0.49'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 49)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -64,7 +64,7 @@ class CostMixin:
|
|
|
64
64
|
from .model_rates import get_model_rates
|
|
65
65
|
|
|
66
66
|
live_rates = get_model_rates(provider, model)
|
|
67
|
-
if live_rates:
|
|
67
|
+
if live_rates and (live_rates.get("input") or live_rates.get("output")):
|
|
68
68
|
prompt_cost = (prompt_tokens / 1_000_000) * live_rates["input"]
|
|
69
69
|
completion_cost = (completion_tokens / 1_000_000) * live_rates["output"]
|
|
70
70
|
else:
|
|
@@ -30,8 +30,16 @@ class MoonshotDriver(CostMixin, Driver):
|
|
|
30
30
|
supports_streaming = True
|
|
31
31
|
supports_vision = True
|
|
32
32
|
|
|
33
|
-
#
|
|
34
|
-
|
|
33
|
+
# Fallback pricing (per 1K tokens) when models.dev data is missing/zero.
|
|
34
|
+
# Source: https://openrouter.ai/moonshotai/ (Jan 2026)
|
|
35
|
+
MODEL_PRICING: dict[str, dict[str, Any]] = {
|
|
36
|
+
"kimi-k2.5": {"prompt": 0.0005, "completion": 0.0028},
|
|
37
|
+
"kimi-k2-0905-preview": {"prompt": 0.0006, "completion": 0.0025},
|
|
38
|
+
"kimi-k2-0711-preview": {"prompt": 0.0006, "completion": 0.0025},
|
|
39
|
+
"kimi-k2-thinking": {"prompt": 0.0006, "completion": 0.0025},
|
|
40
|
+
"kimi-k2-thinking-turbo": {"prompt": 0.00115, "completion": 0.008},
|
|
41
|
+
"kimi-k2-turbo-preview": {"prompt": 0.0024, "completion": 0.01},
|
|
42
|
+
}
|
|
35
43
|
|
|
36
44
|
def __init__(
|
|
37
45
|
self,
|
prompture-0.0.48/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.0.48
|
|
File without changes
|
{prompture-0.0.48 → prompture-0.0.49}/.claude/skills/add-driver/references/driver-template.md
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|