-
Notifications
You must be signed in to change notification settings - Fork 396
add support for union types in mcp client #372
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
Signed-off-by: Patrick Riel <priel@nvidia.com>
|
@cheese-head Looks like a good addition. Let us know when its ready to review. @AnuradhaKaruppiah please review when ready. |
|
/ok to test 256698f |
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.
LGTM, I have added a minor improvement suggestion.
Thanks for the contribution Patrick.
Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Signed-off-by: Patrick Riel <priel@nvidia.com>
|
I've also added an additional filter for removing None values when making a tool call. ------------------------------
[AGENT]
Agent input: show me a list of issues for '184911'
Agent's thoughts:
Thought: It seems like there's still an error. I'll try to simplify the request.
Action: list_issues
Action Input: {"project_id": "184911"}
------------------------------
{'project_id': '184911', 'assignee_id': None, 'assignee_username': None, 'author_id': None, 'author_username': None, 'confidential': None, 'created_after': None, 'created_before': None, 'due_date': None, 'labels': None, 'milestone': None, 'scope': None, 'search': None, 'state': None, 'updated_after': None, 'updated_before': None, 'with_labels_details': None, 'page': None, 'per_page': None}Should now be ------------------------------
[AGENT]
Agent input: show me a list of issues for '184911'
Agent's thoughts:
Thought: It seems like there's still an error. I'll try to simplify the request.
Action: list_issues
Action Input: {"project_id": "184911"}
------------------------------
{'project_id': '184911'} |
|
/ok to test 95f3425 |
Signed-off-by: Patrick Riel <priel@nvidia.com>
|
/ok to test 3cb095e |
|
LGTM, thanks for the contribution Patrick |
|
/merge |
Closes NVIDIA#371 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/develop/docs/source/resources/contributing.md). - We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. - Any contribution which contains commits that are not Signed-Off will not be accepted. - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Patrick (https://github.com/cheese-head) - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) URL: NVIDIA#372 Signed-off-by: Matthew Penn <mpenn@nvidia.com>
Closes NVIDIA#371 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/develop/docs/source/resources/contributing.md). - We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. - Any contribution which contains commits that are not Signed-Off will not be accepted. - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Patrick (https://github.com/cheese-head) - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) URL: NVIDIA#372
Closes NVIDIA#371 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/develop/docs/source/resources/contributing.md). - We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. - Any contribution which contains commits that are not Signed-Off will not be accepted. - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Patrick (https://github.com/cheese-head) - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) URL: NVIDIA#372
Description
Closes #371
By Submitting this PR I confirm: