Skip to content

Conversation

yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Feb 6, 2025

What does this PR do?

Test Plan

Usage:

@client_tool
def add(x: int, y: int) -> int:
    '''Add 2 integer numbers
    
            :param x: integer 1
            :param y: integer 2
            :returns: sum of x + y
    '''
    return x + y

add will be a ClientTool that can be passed

Sources

Please link relevant resources if necessary.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Ran pre-commit to handle lint / formatting issues.
  • Read the contributor guideline,
    Pull Request section?
  • Updated relevant documentation.
  • Wrote necessary unit or integration tests.

@yanxi0830 yanxi0830 marked this pull request as ready for review February 6, 2025 20:12
@yanxi0830 yanxi0830 merged commit ba68957 into main Feb 6, 2025
2 checks passed
@yanxi0830 yanxi0830 deleted the tool_decorator branch February 6, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants