Commit 0ce239e
authored
## Fixes #551
### Changes
- Fixed `JsonRpcTransport.get_card()` to return the newly fetched
authenticated extended card instead of the stale card
### Details
Changed line from `return card` to `return self.agent_card` to ensure
the method returns the updated card after fetching the authenticated
extended version.
This aligns the JsonRpcTransport behavior with RestTransport's correct
implementation.
### Testing
- Verified the fix matches RestTransport's pattern
- Confirmed internal state and return value are now consistent
Release-As: 0.3.18
1 parent 7e121e0 commit 0ce239e
File tree
2 files changed
+2
-2
lines changed- src/a2a/client/transports
- tests/client/transports
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| |||
0 commit comments