mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
fix: Add missing AgentId in IAgentRuntime methods
* also formatting fix
This commit is contained in:
committed by
Jack Gerrits
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*/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user