mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Add Python parity sample for invoking Foundry Toolbox tools from declarative workflows
This commit is contained in:
+3
@@ -27,6 +27,7 @@ from __future__ import annotations
|
||||
|
||||
import locale
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import uuid
|
||||
from collections.abc import Mapping
|
||||
@@ -709,6 +710,8 @@ class DeclarativeWorkflowState:
|
||||
"Agent": agent_data,
|
||||
"Conversation": conversation_data,
|
||||
"System": system_data,
|
||||
# Match .NET declarative workflows that use =Env.VAR_NAME.
|
||||
"Env": dict(os.environ),
|
||||
# Also expose inputs at top level for backward compatibility with =inputs.X syntax
|
||||
"inputs": inputs_data,
|
||||
# Custom namespaces
|
||||
|
||||
Reference in New Issue
Block a user