mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Flow custom kwargs to agents via Workflow SharedState (#2894)
* Flow custom kwargs to agents via SharedState * Address Copilot feedback * Improve sample typing * Fix test
This commit is contained in:
committed by
GitHub
Unverified
parent
8fca71e5ad
commit
6adcac2e97
@@ -149,6 +149,8 @@ to configure which agents can route to which others with a fluent, type-safe API
|
||||
| Sample | File | Concepts |
|
||||
|---|---|---|
|
||||
| Shared States | [state-management/shared_states_with_agents.py](./state-management/shared_states_with_agents.py) | Store in shared state once and later reuse across agents |
|
||||
| Workflow Kwargs (Custom Context) | [state-management/workflow_kwargs.py](./state-management/workflow_kwargs.py) | Pass custom context (data, user tokens) via kwargs to `@ai_function` tools |
|
||||
|
||||
|
||||
### visualization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user