mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: [BREAKING] Renamed AgentRunContext to AgentContext (#3714)
* Renamed AgentRunContext to AgentContext * Update python/packages/core/AGENTS.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
c609b14f63
commit
09f59b21ad
@@ -34,7 +34,7 @@ sequenceDiagram
|
||||
Note over Agent,AML: Agent Middleware Layer
|
||||
Agent->>AML: run() with middleware param
|
||||
AML->>AML: categorize_middleware() → split by type
|
||||
AML->>AMP: execute(AgentRunContext)
|
||||
AML->>AMP: execute(AgentContext)
|
||||
|
||||
loop Agent Middleware Chain
|
||||
AMP->>AMP: middleware[i].process(context, next)
|
||||
@@ -127,7 +127,7 @@ sequenceDiagram
|
||||
|
||||
**Entry Point:** `Agent.run(messages, thread, options, middleware)`
|
||||
|
||||
**Context Object:** `AgentRunContext`
|
||||
**Context Object:** `AgentContext`
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
|
||||
Reference in New Issue
Block a user