Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient returns an ADK client for the agent at agentURL whose requests carry the session's trace context, so remote spans nest under ours.
func PreferredEndpointURL ¶ added in v0.222.2
PreferredEndpointURL returns the card's preferred interface URL, falling back to the URL the card was fetched from when it declares none. v1.0.1 cards replaced the flat url field with SupportedInterfaces.
Types ¶
type AgentCardClient ¶
type AgentCardClient struct {
// contains filtered or unexported fields
}
func NewAgentCardClient ¶
func NewAgentCardClient(cfg *config.Config) *AgentCardClient
func (*AgentCardClient) GetAgentCard ¶
func (*AgentCardClient) GetAgentCards ¶
func (s *AgentCardClient) GetAgentCards(ctx context.Context) ([]*a2adomain.CachedAgentCard, error)
func (*AgentCardClient) GetConfiguredAgents ¶
func (s *AgentCardClient) GetConfiguredAgents() []string
Click to show internal directories.
Click to hide internal directories.