kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: completionParams should be partial optional
rodzic
9ec984da76
commit
82e89b3237
|
@ -53,7 +53,7 @@ export class ChatGPTAPI {
|
||||||
/** @defaultValue `false` **/
|
/** @defaultValue `false` **/
|
||||||
debug?: boolean
|
debug?: boolean
|
||||||
|
|
||||||
completionParams?: types.openai.CompletionParams
|
completionParams?: Partial<types.openai.CompletionParams>
|
||||||
|
|
||||||
/** @defaultValue `4096` **/
|
/** @defaultValue `4096` **/
|
||||||
maxModelTokens?: number
|
maxModelTokens?: number
|
||||||
|
|
Ładowanie…
Reference in New Issue