-
Notifications
You must be signed in to change notification settings - Fork 718
Move example A2UI tools to SDK #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8acb82e to
c44b5e8
Compare
|
Closes #375 |
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
7050d5b to
3bab73e
Compare
9ceaa73 to
e669d81
Compare
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
e669d81 to
3a6b517
Compare
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
3a6b517 to
eece1f3
Compare
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
eece1f3 to
4bb8fa3
Compare
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| """Module for the A2UI Toolset and Part Converter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you do another pass on docs? we renamed a2ui toolset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, fixed that and the part converter.
a2a_agents/python/a2ui_extension/src/a2ui/send_a2ui_to_client_toolset.py
Outdated
Show resolved
Hide resolved
wrenj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for adding this!
e4848b1 to
b06d5f8
Compare
b06d5f8 to
19c17dc
Compare
|
|
||
| """Module for the SendA2uiToClientToolset and Part Converter. | ||
| This module provides the necessary components to enable an agent to send A2UI (Agent-to-User Interface) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just explain that this is one approach for capturing a2ui json from an agent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| instructing the LLM that it can send a list of UI items. | ||
| * `convert_send_a2ui_to_client_genai_part_to_a2a_part`: A utility function that intercepts the `send_a2ui_json_to_client` | ||
| tool calls from the LLM and converts them into `a2a_types.Part` objects, which are then | ||
| processed by the A2A system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return by the A2A Agent Executor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
19c17dc to
5402e07
Compare
No description provided.