mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-27 15:09:41 +00:00
fix: Add missing AgentId in IAgentRuntime methods
* also formatting fix
This commit is contained in:
parent
7543192838
commit
fd2409f5e1
@ -15,8 +15,8 @@ public interface IAgentRuntime : ISaveState<IAgentRuntime>
|
||||
public ValueTask<AgentId> GetAgentAsync(AgentType agentType, string key = "default", bool lazy = true/*, CancellationToken? = default*/);
|
||||
public ValueTask<AgentId> GetAgentAsync(string agent, string key = "default", bool lazy = true/*, CancellationToken? = default*/);
|
||||
|
||||
public ValueTask<StateDict> SaveAgentStateAsync(/*CancellationToken? cancellationToken = default*/);
|
||||
public ValueTask LoadAgentStateAsync(StateDict state/*, CancellationToken? cancellationToken = default*/);
|
||||
public ValueTask<StateDict> SaveAgentStateAsync(AgentId agentId, /*CancellationToken? cancellationToken = default*/);
|
||||
public ValueTask LoadAgentStateAsync(AgentId agentId, StateDict state/*, CancellationToken? cancellationToken = default*/);
|
||||
|
||||
public ValueTask<AgentMetadata> GetAgentMetadataAsync(AgentId agentId/*, CancellationToken? cancellationToken = default*/);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user