Skip to content

Conversation

rainu
Copy link
Contributor

@rainu rainu commented May 30, 2025

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

I figured out that tool conversation did not work in case of complex tool definitions. Especially for arrays and inner-objects. So in this PR I refactored the tool-conversation logic and wrote some tests (only for the conversation logic). Furthermore, I implements the possibility to "outsource" the schema-definition to the user of this library. This is the case if the user will set the schema directly as Tool's Parameter.

@rainu rainu force-pushed the googleai-fix-tool-conversion branch from 70c0dbc to 98c3d60 Compare August 17, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant