Commit 1fb5b91
authored
Fix: Return updated agent_card in JsonRpcTransport.get_card()
The get_card() method was returning the stale 'card' variable instead of the newly fetched 'self.agent_card' when retrieving authenticated extended cards. This caused callers to receive outdated agent metadata.
This fix aligns JsonRpcTransport with RestTransport's correct behavior.1 parent 051ab20 commit 1fb5b91
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| |||
0 commit comments