genkit-plugins icon indicating copy to clipboard operation
genkit-plugins copied to clipboard

fix: add length check for toolRequestParts in `fromOpenAiChoice`

Open pedi opened this issue 1 year ago • 0 comments

This pull request is related to:

  • [x] A bug
  • [ ] A new feature
  • [ ] Documentation
  • [ ] Other (please specify)

I have checked the following:

  • [x] I have read and understood the contribution guidelines and the code of conduct;
  • [x] I have added new tests (for bug fixes/features);
  • [x] I have added/updated the documentation (for bug fixes / features).

Description: Please check description in the original issue

Related issues: Fix #137

pedi avatar Sep 03 '24 04:09 pedi