Commit 20baa60
authored
fix(adk): set correct URL for remote agent card (#848)
Addresses issue whereby agent->agent calls are currently failing with
errors like this in the UI:
``` json
{"id":"call_xx": "name": "transfor_to_agent", "response":{"result": null}}
```
Agent pods show the following errors:
```
ERROR:google_adk.google.adk.agents.remote_a2a_agent:Failed to resolve remote A2A agent kagent__NS__my_agent: Failed to resolve AgentCard from URL http://my-agent.kagent:8080/: HTTP Error 405: Failed to fetch agent card from http://my-agent.kagent:8080/: Client error '405 Method Not Allowed' for url 'http://my-agent.kagent:8080/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
```
I guess this was my bad, and it's related to the upgrade in #816.
Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com>1 parent 9a3a0ad commit 20baa60
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments