Skip to content

Commit

Permalink
v2.20.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed Sep 13, 2024
1 parent b0f71b8 commit 6162d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export const subModel= async (opt: subModelType)=>{
try {
mlog('🐞非流输出',body )
opt.onMessage({text: t('mj.thinking') ,isFinish: false })
let obj :any= await gptFetch( gptGetUrl('/v1/chat/completions'),body )
let obj :any= await gptFetch( '/v1/chat/completions',body )
//mlog('结果 >>',obj )
opt.onMessage({text:obj.choices[0].message.content??'' ,isFinish: true ,isAll:true})

Expand Down

0 comments on commit 6162d78

Please sign in to comment.