类的使用
io.github.a2ap.core.model.AgentCard
使用AgentCard的程序包
程序包
说明
-
io.github.a2ap.core.client中AgentCard的使用
修饰符和类型方法说明A2AClient.agentCard()Get the AgentCard info current in clientCardResolver.resolveCard()Resolves the AgentCard for the configured agent.A2AClient.retrieveAgentCard()Retrieves the AgentCard for the server this client connects to. -
io.github.a2ap.core.client.impl中AgentCard的使用
修饰符和类型方法说明DefaultA2AClient.agentCard()HttpCardResolver.resolveCard()DefaultA2AClient.retrieveAgentCard()参数类型为AgentCard的io.github.a2ap.core.client.impl中的构造器限定符构造器说明DefaultA2AClient(AgentCard agentCard) Constructs a new A2aClient with the agent card infoDefaultA2AClient(AgentCard agentCard, CardResolver cardResolver) Constructs a new A2AClientImpl with the specified CardResolver. -
io.github.a2ap.core.model中AgentCard的使用
-
io.github.a2ap.core.server中AgentCard的使用
-
io.github.a2ap.core.server.impl中AgentCard的使用
参数类型为AgentCard的io.github.a2ap.core.server.impl中的构造器限定符构造器说明DefaultA2AServer(TaskManager taskManager, AgentExecutor agentExecutor, QueueManager queueManager, AgentCard a2aServerSelfCard) Constructs a new A2AServerImpl with the specified components.