feat(a2a): Add functions to list and fetch A2A agents#25
Merged
Conversation
- Add ListAgents() function to list all available A2A agents - Add GetAgent() function to fetch specific agent by ID - Download latest OpenAPI spec with A2A endpoints - Generate updated types with A2AAgentCard and ListAgentsResponse - Add comprehensive tests with table-driven scenarios - Include error handling for 403, 401, 404, 500 status codes - Add timeout and cancellation support - Follow existing SDK patterns and conventions - Include detailed documentation with usage examples Resolves #24 Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements A2A agent listing functionality for the Inference Gateway SDK.
Changes
ListAgents()function to list all available A2A agentsGetAgent()function to fetch specific agent by IDTesting
All 88 tests pass, including comprehensive A2A test coverage:
Usage
Resolves #24
Generated with Claude Code