Skip to content

fix(orchestrator): add missing imports for Consumer, Client, AgentCar…#408

Open
jayhemnani9910 wants to merge 2 commits intogoogle:mainfrom
jayhemnani9910:fix/orchestrator-missing-imports
Open

fix(orchestrator): add missing imports for Consumer, Client, AgentCar…#408
jayhemnani9910 wants to merge 2 commits intogoogle:mainfrom
jayhemnani9910:fix/orchestrator-missing-imports

Conversation

@jayhemnani9910
Copy link

…d, etc.

The orchestrator agent sample was missing several required imports, causing a NameError when trying to run the agent.

Added imports:

  • Any from typing
  • Client, ClientCallContext, Consumer from a2a.client
  • AgentCard from a2a.types

Fixes #326

…d, etc.

The orchestrator agent sample was missing several required imports,
causing a NameError when trying to run the agent.

Added imports:
- Any from typing
- Client, ClientCallContext, Consumer from a2a.client
- AgentCard from a2a.types

Fixes google#326
Copy link
Collaborator

@wrenj wrenj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix!

@jayhemnani9910
Copy link
Author

happy to help @wrenj , looking forward to more contributions. let me know if any.

@jacobsimionato
Copy link
Collaborator

@jayhemnani9910 this looks great! Can you resolve the conflicts so we can merge it?

@jayhemnani9910
Copy link
Author

@jayhemnani9910 this looks great! Can you resolve the conflicts so we can merge it?

yea, sorry for the late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

NameError : name 'Consumer' is not defined.

4 participants