Skip to content

Commit

Permalink
v2.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed Sep 4, 2024
1 parent 78b3d68 commit 0d5196b
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 @@ -216,7 +216,7 @@ export const subGPT= async (data:any, chat:Chat.Chat )=>{
let d:any;
let action= data.action;
//chat.myid= `${Date.now()}`;
if( action=='gpt.dall-e-3' && data.data && data.data.model && data.data.model =='ideogram'){ //ideogram
if( action=='gpt.dall-e-3' && data.data && data.data.model && data.data.model.indexOf('ideogram')>-1 ){ //ideogram
mlog("ddlog 数据 ", data.data )
try{
let d= await ideoSubmit(data.data );
Expand Down

0 comments on commit 0d5196b

Please sign in to comment.