prompture 0.0.44__tar.gz → 0.0.45__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 (138) hide show
  1. {prompture-0.0.44/prompture.egg-info → prompture-0.0.45}/PKG-INFO +1 -1
  2. prompture-0.0.45/VERSION +1 -0
  3. {prompture-0.0.44 → prompture-0.0.45}/prompture/_version.py +2 -2
  4. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_moonshot_driver.py +4 -1
  5. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/moonshot_driver.py +4 -1
  6. {prompture-0.0.44 → prompture-0.0.45/prompture.egg-info}/PKG-INFO +1 -1
  7. prompture-0.0.44/VERSION +0 -1
  8. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/add-driver/SKILL.md +0 -0
  9. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/add-driver/references/driver-template.md +0 -0
  10. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/add-example/SKILL.md +0 -0
  11. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/add-field/SKILL.md +0 -0
  12. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/add-test/SKILL.md +0 -0
  13. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/run-tests/SKILL.md +0 -0
  14. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/scaffold-extraction/SKILL.md +0 -0
  15. {prompture-0.0.44 → prompture-0.0.45}/.claude/skills/update-pricing/SKILL.md +0 -0
  16. {prompture-0.0.44 → prompture-0.0.45}/.env.copy +0 -0
  17. {prompture-0.0.44 → prompture-0.0.45}/.github/FUNDING.yml +0 -0
  18. {prompture-0.0.44 → prompture-0.0.45}/.github/scripts/update_docs_version.py +0 -0
  19. {prompture-0.0.44 → prompture-0.0.45}/.github/scripts/update_wrapper_version.py +0 -0
  20. {prompture-0.0.44 → prompture-0.0.45}/.github/workflows/dev.yml +0 -0
  21. {prompture-0.0.44 → prompture-0.0.45}/.github/workflows/documentation.yml +0 -0
  22. {prompture-0.0.44 → prompture-0.0.45}/.github/workflows/publish.yml +0 -0
  23. {prompture-0.0.44 → prompture-0.0.45}/CLAUDE.md +0 -0
  24. {prompture-0.0.44 → prompture-0.0.45}/LICENSE +0 -0
  25. {prompture-0.0.44 → prompture-0.0.45}/MANIFEST.in +0 -0
  26. {prompture-0.0.44 → prompture-0.0.45}/README.md +0 -0
  27. {prompture-0.0.44 → prompture-0.0.45}/ROADMAP.md +0 -0
  28. {prompture-0.0.44 → prompture-0.0.45}/docs/source/_static/custom.css +0 -0
  29. {prompture-0.0.44 → prompture-0.0.45}/docs/source/_templates/footer.html +0 -0
  30. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/core.rst +0 -0
  31. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/drivers.rst +0 -0
  32. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/field_definitions.rst +0 -0
  33. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/index.rst +0 -0
  34. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/runner.rst +0 -0
  35. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/tools.rst +0 -0
  36. {prompture-0.0.44 → prompture-0.0.45}/docs/source/api/validator.rst +0 -0
  37. {prompture-0.0.44 → prompture-0.0.45}/docs/source/conf.py +0 -0
  38. {prompture-0.0.44 → prompture-0.0.45}/docs/source/contributing.rst +0 -0
  39. {prompture-0.0.44 → prompture-0.0.45}/docs/source/examples.rst +0 -0
  40. {prompture-0.0.44 → prompture-0.0.45}/docs/source/field_definitions_reference.rst +0 -0
  41. {prompture-0.0.44 → prompture-0.0.45}/docs/source/index.rst +0 -0
  42. {prompture-0.0.44 → prompture-0.0.45}/docs/source/installation.rst +0 -0
  43. {prompture-0.0.44 → prompture-0.0.45}/docs/source/quickstart.rst +0 -0
  44. {prompture-0.0.44 → prompture-0.0.45}/docs/source/toon_input_guide.rst +0 -0
  45. {prompture-0.0.44 → prompture-0.0.45}/packages/README.md +0 -0
  46. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_json/README.md +0 -0
  47. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_json/llm_to_json/__init__.py +0 -0
  48. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_json/pyproject.toml +0 -0
  49. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_json/test.py +0 -0
  50. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_toon/README.md +0 -0
  51. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_toon/llm_to_toon/__init__.py +0 -0
  52. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_toon/pyproject.toml +0 -0
  53. {prompture-0.0.44 → prompture-0.0.45}/packages/llm_to_toon/test.py +0 -0
  54. {prompture-0.0.44 → prompture-0.0.45}/prompture/__init__.py +0 -0
  55. {prompture-0.0.44 → prompture-0.0.45}/prompture/agent.py +0 -0
  56. {prompture-0.0.44 → prompture-0.0.45}/prompture/agent_types.py +0 -0
  57. {prompture-0.0.44 → prompture-0.0.45}/prompture/aio/__init__.py +0 -0
  58. {prompture-0.0.44 → prompture-0.0.45}/prompture/async_agent.py +0 -0
  59. {prompture-0.0.44 → prompture-0.0.45}/prompture/async_conversation.py +0 -0
  60. {prompture-0.0.44 → prompture-0.0.45}/prompture/async_core.py +0 -0
  61. {prompture-0.0.44 → prompture-0.0.45}/prompture/async_driver.py +0 -0
  62. {prompture-0.0.44 → prompture-0.0.45}/prompture/async_groups.py +0 -0
  63. {prompture-0.0.44 → prompture-0.0.45}/prompture/cache.py +0 -0
  64. {prompture-0.0.44 → prompture-0.0.45}/prompture/callbacks.py +0 -0
  65. {prompture-0.0.44 → prompture-0.0.45}/prompture/cli.py +0 -0
  66. {prompture-0.0.44 → prompture-0.0.45}/prompture/conversation.py +0 -0
  67. {prompture-0.0.44 → prompture-0.0.45}/prompture/core.py +0 -0
  68. {prompture-0.0.44 → prompture-0.0.45}/prompture/cost_mixin.py +0 -0
  69. {prompture-0.0.44 → prompture-0.0.45}/prompture/discovery.py +0 -0
  70. {prompture-0.0.44 → prompture-0.0.45}/prompture/driver.py +0 -0
  71. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/__init__.py +0 -0
  72. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/airllm_driver.py +0 -0
  73. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_airllm_driver.py +0 -0
  74. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_azure_driver.py +0 -0
  75. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_claude_driver.py +0 -0
  76. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_google_driver.py +0 -0
  77. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_grok_driver.py +0 -0
  78. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_groq_driver.py +0 -0
  79. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_hugging_driver.py +0 -0
  80. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_lmstudio_driver.py +0 -0
  81. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_local_http_driver.py +0 -0
  82. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_modelscope_driver.py +0 -0
  83. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_ollama_driver.py +0 -0
  84. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_openai_driver.py +0 -0
  85. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_openrouter_driver.py +0 -0
  86. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_registry.py +0 -0
  87. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/async_zai_driver.py +0 -0
  88. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/azure_driver.py +0 -0
  89. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/claude_driver.py +0 -0
  90. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/google_driver.py +0 -0
  91. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/grok_driver.py +0 -0
  92. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/groq_driver.py +0 -0
  93. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/hugging_driver.py +0 -0
  94. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/lmstudio_driver.py +0 -0
  95. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/local_http_driver.py +0 -0
  96. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/modelscope_driver.py +0 -0
  97. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/ollama_driver.py +0 -0
  98. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/openai_driver.py +0 -0
  99. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/openrouter_driver.py +0 -0
  100. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/registry.py +0 -0
  101. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/vision_helpers.py +0 -0
  102. {prompture-0.0.44 → prompture-0.0.45}/prompture/drivers/zai_driver.py +0 -0
  103. {prompture-0.0.44 → prompture-0.0.45}/prompture/field_definitions.py +0 -0
  104. {prompture-0.0.44 → prompture-0.0.45}/prompture/group_types.py +0 -0
  105. {prompture-0.0.44 → prompture-0.0.45}/prompture/groups.py +0 -0
  106. {prompture-0.0.44 → prompture-0.0.45}/prompture/image.py +0 -0
  107. {prompture-0.0.44 → prompture-0.0.45}/prompture/ledger.py +0 -0
  108. {prompture-0.0.44 → prompture-0.0.45}/prompture/logging.py +0 -0
  109. {prompture-0.0.44 → prompture-0.0.45}/prompture/model_rates.py +0 -0
  110. {prompture-0.0.44 → prompture-0.0.45}/prompture/persistence.py +0 -0
  111. {prompture-0.0.44 → prompture-0.0.45}/prompture/persona.py +0 -0
  112. {prompture-0.0.44 → prompture-0.0.45}/prompture/runner.py +0 -0
  113. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/__init__.py +0 -0
  114. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/generator.py +0 -0
  115. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/Dockerfile.j2 +0 -0
  116. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/README.md.j2 +0 -0
  117. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/config.py.j2 +0 -0
  118. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/env.example.j2 +0 -0
  119. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/main.py.j2 +0 -0
  120. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/models.py.j2 +0 -0
  121. {prompture-0.0.44 → prompture-0.0.45}/prompture/scaffold/templates/requirements.txt.j2 +0 -0
  122. {prompture-0.0.44 → prompture-0.0.45}/prompture/serialization.py +0 -0
  123. {prompture-0.0.44 → prompture-0.0.45}/prompture/server.py +0 -0
  124. {prompture-0.0.44 → prompture-0.0.45}/prompture/session.py +0 -0
  125. {prompture-0.0.44 → prompture-0.0.45}/prompture/settings.py +0 -0
  126. {prompture-0.0.44 → prompture-0.0.45}/prompture/tools.py +0 -0
  127. {prompture-0.0.44 → prompture-0.0.45}/prompture/tools_schema.py +0 -0
  128. {prompture-0.0.44 → prompture-0.0.45}/prompture/validator.py +0 -0
  129. {prompture-0.0.44 → prompture-0.0.45}/prompture.egg-info/SOURCES.txt +0 -0
  130. {prompture-0.0.44 → prompture-0.0.45}/prompture.egg-info/dependency_links.txt +0 -0
  131. {prompture-0.0.44 → prompture-0.0.45}/prompture.egg-info/entry_points.txt +0 -0
  132. {prompture-0.0.44 → prompture-0.0.45}/prompture.egg-info/requires.txt +0 -0
  133. {prompture-0.0.44 → prompture-0.0.45}/prompture.egg-info/top_level.txt +0 -0
  134. {prompture-0.0.44 → prompture-0.0.45}/pyproject.toml +0 -0
  135. {prompture-0.0.44 → prompture-0.0.45}/requirements.txt +0 -0
  136. {prompture-0.0.44 → prompture-0.0.45}/setup.cfg +0 -0
  137. {prompture-0.0.44 → prompture-0.0.45}/test.py +0 -0
  138. {prompture-0.0.44 → prompture-0.0.45}/test_version_diagnosis.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prompture
3
- Version: 0.0.44
3
+ Version: 0.0.45
4
4
  Summary: Ask LLMs to return structured JSON and run cross-model tests. API-first.
5
5
  Author-email: Juan Denis <juan@vene.co>
6
6
  License-Expression: MIT
@@ -0,0 +1 @@
1
+ 0.0.45
@@ -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.44'
32
- __version_tuple__ = version_tuple = (0, 0, 44)
31
+ __version__ = version = '0.0.45'
32
+ __version_tuple__ = version_tuple = (0, 0, 45)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -307,7 +307,10 @@ class AsyncMoonshotDriver(CostMixin, AsyncDriver):
307
307
  choices = chunk.get("choices", [])
308
308
  if choices:
309
309
  delta = choices[0].get("delta", {})
310
- content = delta.get("content", "")
310
+ content = delta.get("content") or ""
311
+ # Reasoning models stream thinking via reasoning_content
312
+ if not content:
313
+ content = delta.get("reasoning_content") or ""
311
314
  if content:
312
315
  full_text += content
313
316
  yield {"type": "delta", "text": content}
@@ -336,7 +336,10 @@ class MoonshotDriver(CostMixin, Driver):
336
336
  choices = chunk.get("choices", [])
337
337
  if choices:
338
338
  delta = choices[0].get("delta", {})
339
- content = delta.get("content", "")
339
+ content = delta.get("content") or ""
340
+ # Reasoning models stream thinking via reasoning_content
341
+ if not content:
342
+ content = delta.get("reasoning_content") or ""
340
343
  if content:
341
344
  full_text += content
342
345
  yield {"type": "delta", "text": content}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prompture
3
- Version: 0.0.44
3
+ Version: 0.0.45
4
4
  Summary: Ask LLMs to return structured JSON and run cross-model tests. API-first.
5
5
  Author-email: Juan Denis <juan@vene.co>
6
6
  License-Expression: MIT
prompture-0.0.44/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.44
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