Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 authored Aug 24, 2023
1 parent 502cc81 commit 246aaad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,7 @@ export class chatgpt extends plugin {
const { choices } = await client.getChatCompletions(deploymentName, msg)
let completion = choices[0].message;
return {'text' : completion.content, 'message': completion}
}
case 'bard': {
// 处理cookie
const matchesPSID = /__Secure-1PSID=([^;]+)/.exec(Config.bardPsid)
Expand Down

0 comments on commit 246aaad

Please sign in to comment.