Removed response format option

This commit is contained in:
Will Poynter 2024-10-01 11:55:42 +01:00
parent 9bacb71539
commit c1c54576e4
No known key found for this signature in database
GPG key ID: AB3BE72A7CA5B1A9
3 changed files with 1 additions and 5 deletions

2
dist/index.js vendored
View file

@ -209,8 +209,6 @@ ${chunk.changes
try {
const response = yield openai.chat.completions.create(
Object.assign(Object.assign({}, queryConfig), {
// return JSON if the model supports it:
response_format: { type: "json_object" },
messages: [
{
role: "user",