mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 01:26:47 +00:00
Removed response format option
This commit is contained in:
parent
9bacb71539
commit
c1c54576e4
3 changed files with 1 additions and 5 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue