Skip to content

Commit

Permalink
Bug Patch for TypeScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bes-js authored Jan 27, 2024
1 parent df50d9c commit 1ee12a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/src/hercai.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare class Hercai {
* @returns {Hercai}
* @async
*/
question(object:{model:"v3"|"v3-32k"|"turbo"|"turbo-16k"|"gemini",content:string,personality:string|""}):Promise<{content:string,reply:string}>;
question(object:{model:"v3"|"v3-32k"|"turbo"|"turbo-16k"|"gemini",content:string,personality?:string|""}):Promise<{content:string,reply:string}>;


/**
Expand All @@ -35,7 +35,7 @@ question(object:{model:"v3"|"v3-32k"|"turbo"|"turbo-16k"|"gemini",content:string
* @returns {Hercai}
* @async
*/
drawImage(object:{model:"v1"|"v2"|"v2-beta"|"v3"|"lexica"|"prodia"|"simurg"|"animefy"|"raava"|"shonin",prompt:string,negative_prompt:string|""}):Promise<{model:string,prompt:string,url:string}>;
drawImage(object:{model:"v1"|"v2"|"v2-beta"|"v3"|"lexica"|"prodia"|"simurg"|"animefy"|"raava"|"shonin",prompt:string,negative_prompt?:string|""}):Promise<{model:string,prompt:string,url:string}>;


}
Expand Down

0 comments on commit 1ee12a6

Please sign in to comment.