mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Add Durabletask samples and minor fixes (#3157)
* Add samples and minor fixes * Add redis sample and wait-for-completion * Add wait-for-completion support * ADd missing docs
This commit is contained in:
committed by
GitHub
Unverified
parent
1e36ba33c4
commit
3df916064c
-1
@@ -102,7 +102,6 @@ def content_generation_hitl_orchestration(context: DurableOrchestrationContext)
|
||||
)
|
||||
|
||||
content = initial_raw.value
|
||||
logger.info("Type of content after extraction: %s", type(content)) # type: ignore[misc]
|
||||
|
||||
if content is None or not isinstance(content, GeneratedContent):
|
||||
raise ValueError("Agent returned no content after extraction.")
|
||||
|
||||
Reference in New Issue
Block a user