dify-player 0.3.4__tar.gz → 0.3.5__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.
- {dify_player-0.3.4 → dify_player-0.3.5}/PKG-INFO +1 -1
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/__init__.py +1 -1
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/llm_groq_chat.py +4 -3
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player.egg-info/PKG-INFO +1 -1
- {dify_player-0.3.4 → dify_player-0.3.5}/pyproject.toml +1 -1
- {dify_player-0.3.4 → dify_player-0.3.5}/MANIFEST.in +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/README.md +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/__main__.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/cli.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/__init__.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/graph_parser.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/http_body_converter.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/__init__.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/assigner.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/code.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/end.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/http_request.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/if_else.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/llm.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/loop.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/start.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/template_transform.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/variable_aggregator.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/plan_serializer.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/reference_converter.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/workflow_loader.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/workflow_normalizer.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_workflow_importer.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/event_logger.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/exceptions.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/input_resolver.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/llm_cache.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/models.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/__init__.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/assigner.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/code.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/end.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/http.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/if_else.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/llm_azure_chat.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/llm_xai_chat.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/start.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/template.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/nodes/variable_aggregator.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/plan_loader.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/runtime.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/value_renderer.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/workflow_engine.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player/workflow_executor.py +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player.egg-info/SOURCES.txt +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player.egg-info/dependency_links.txt +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player.egg-info/requires.txt +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/dify_player.egg-info/top_level.txt +0 -0
- {dify_player-0.3.4 → dify_player-0.3.5}/setup.cfg +0 -0
|
@@ -222,8 +222,9 @@ async def _run_structured_output_with_repair(
|
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
# Groq may return json_validate_failed as HTTP 400 even when the failure is the
|
|
225
|
-
# model's generated JSON, not a permanent request/schema error.
|
|
226
|
-
#
|
|
225
|
+
# model's generated JSON, not a permanent request/schema error. Retry through the
|
|
226
|
+
# existing repair prompt even when Groq omits failed_generation, because the next
|
|
227
|
+
# attempt can still recover from provider-side structured-output validation.
|
|
227
228
|
def _extract_groq_failed_generation(exc: GroqLLMBadStatusError) -> tuple[str, str] | None:
|
|
228
229
|
if exc.status_code != 400 or exc.response_body is None:
|
|
229
230
|
return None
|
|
@@ -242,7 +243,7 @@ def _extract_groq_failed_generation(exc: GroqLLMBadStatusError) -> tuple[str, st
|
|
|
242
243
|
return None
|
|
243
244
|
|
|
244
245
|
failed_generation = error.get("failed_generation")
|
|
245
|
-
if not isinstance(failed_generation, str)
|
|
246
|
+
if not isinstance(failed_generation, str):
|
|
246
247
|
return None
|
|
247
248
|
|
|
248
249
|
message = error.get("message")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/__init__.py
RENAMED
|
File without changes
|
{dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/assigner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/http_request.py
RENAMED
|
File without changes
|
{dify_player-0.3.4 → dify_player-0.3.5}/dify_player/dify_importer/node_converters/if_else.py
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
|