Skip to content

Commit 37dae9b

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: Import AGENT_CARD_WELL_KNOWN_PATH from adk instead of from a2a directly
thus let adk handle import problem for a2a, e.g. python version need to be > 3.10 etc. PiperOrigin-RevId: 791273137
1 parent 0e28d64 commit 37dae9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributing/samples/a2a_root/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from a2a.utils.constants import AGENT_CARD_WELL_KNOWN_PATH
15+
from google.adk.agents.remote_a2a_agent import AGENT_CARD_WELL_KNOWN_PATH
1616
from google.adk.agents.remote_a2a_agent import RemoteA2aAgent
1717

1818
root_agent = RemoteA2aAgent(

0 commit comments

Comments
 (0)