mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-05 01:48:44 +00:00
Do not automatically attach the process-wide A2A_TOKEN to model-selected destinations. Keep explicitly supplied connection credentials and document the existing token-bearing Agent Zero connection URL for protected peers. Add regressions proving that arbitrary destinations receive no ambient Authorization or X-API-KEY headers, explicit tokens still work, and token-bearing URLs are preserved for discovery and RPC. Exercise discovery, message send and conversation reuse through the server auth/router for token URLs, explicit headers and public peers. Validation: 8 client/tool tests passed. One expected failure records pre-existing project URL handling of chunked request bodies; the server implementation is unchanged.
6 lines
545 B
Markdown
6 lines
545 B
Markdown
# A2A Chat
|
|
|
|
Provides the `a2a_chat` tool, which communicates with remote FastA2A-compatible agents. Conversation context is preserved automatically per `agent_url`; pass `reset: true` to start a fresh conversation with the same agent.
|
|
|
|
Unauthenticated agents work without extra configuration. To connect to a protected Agent Zero peer, use its token-bearing connection URL from **Settings → A2A → Connection URL**. Credentials are never copied automatically from the ambient `A2A_TOKEN` environment variable to a model-selected destination.
|