Skip to content

Commit

Permalink
build: fix resolve content
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Nov 23, 2023
1 parent c034916 commit 865e17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-upsert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
let data = ''
res.on('data', chunk => data += chunk)
res.on('end', () => {
resolve(JSON.parse(data).choices[0].message.text)
resolve(JSON.parse(data).choices[0].message.content)
})
})
req.on('error', reject)
Expand Down

0 comments on commit 865e17a

Please sign in to comment.