pro-craft 0.1.4__tar.gz → 0.1.6__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.
Potentially problematic release.
This version of pro-craft might be problematic. Click here for more details.
- {pro_craft-0.1.4 → pro_craft-0.1.6}/PKG-INFO +1 -1
- {pro_craft-0.1.4 → pro_craft-0.1.6}/pyproject.toml +1 -1
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/prompt_helper_async.py +2 -1
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft.egg-info/PKG-INFO +1 -1
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft.egg-info/top_level.txt +0 -1
- {pro_craft-0.1.4 → pro_craft-0.1.6}/README.md +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/setup.cfg +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/__init__.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/code_helper/coder.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/database.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/designer.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/evals.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/file_manager.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/log.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/prompt_helper.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/__main__.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/mcp/__init__.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/mcp/content.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/mcp/math.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/mcp/resource.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/mcp/weather.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/models.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server/router/recommended.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/server.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft/utils.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft.egg-info/SOURCES.txt +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft.egg-info/dependency_links.txt +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/src/pro_craft.egg-info/requires.txt +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/tests/test22.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/tests/test_33.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/tests/test_coder.py +0 -0
- {pro_craft-0.1.4 → pro_craft-0.1.6}/tests/test_designer.py +0 -0
|
@@ -501,6 +501,7 @@ class AsyncIntel():
|
|
|
501
501
|
input_data: dict | str,
|
|
502
502
|
OutputFormat: object,
|
|
503
503
|
prompt_id: str,
|
|
504
|
+
ExtraFormats: list[object] = [],
|
|
504
505
|
version: str = None,
|
|
505
506
|
inference_save_case = True,
|
|
506
507
|
):
|
|
@@ -512,7 +513,7 @@ class AsyncIntel():
|
|
|
512
513
|
"```json([\s\S]*?)```"
|
|
513
514
|
使用以下方式验证
|
|
514
515
|
"""
|
|
515
|
-
output_format = base_format_prompt + inspect.getsource(OutputFormat)
|
|
516
|
+
output_format = base_format_prompt + "\n".join([inspect.getsource(outputformat) for outputformat in ExtraFormats]) + inspect.getsource(OutputFormat)
|
|
516
517
|
|
|
517
518
|
ai_result = await self.aintellect_remove(
|
|
518
519
|
input_data=input_data,
|
|
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
|