Skip to content

Conversation

@nftechie
Copy link
Contributor

When using openai.JSONSchemaTypeArray, you must define and "Items" object, otherwise OpenAI will return a 400.

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #373 (18c02f2) into master (0bd14f9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #373   +/-   ##
=======================================
  Coverage   95.22%   95.22%           
=======================================
  Files          17       17           
  Lines         670      670           
=======================================
  Hits          638      638           
  Misses         22       22           
  Partials       10       10           
Impacted Files Coverage Δ
chat.go 100.00% <ø> (ø)

Copy link
Owner

@sashabaranov sashabaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sashabaranov sashabaranov merged commit ac25f31 into sashabaranov:master Jun 16, 2023
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.

2 participants