chatgpt-jdasa
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -450,3 +450,6 @@ import Keyv from 'keyv'; | ||
get apiKey(): string; | ||
set apiKey(apiKey: string); | ||
set apiBaseUrl(apiBaseUrl: string); | ||
set systemMessage(systemMessage: string); | ||
set maxModelTokens(maxModelTokens: number); | ||
set maxResponseTokens(maxResponseTokens: number); | ||
get apiOrg(): string; | ||
@@ -453,0 +456,0 @@ set apiOrg(apiOrg: string); |
@@ -380,5 +380,14 @@ // src/chatgpt-api.ts | ||
} | ||
set apiKey(apiKey) { | ||
this._apiKey = apiKey; | ||
set apiBaseUrl(apiBaseUrl) { | ||
this._apiBaseUrl = apiBaseUrl; | ||
} | ||
set systemMessage(systemMessage) { | ||
this._systemMessage = systemMessage; | ||
} | ||
set maxModelTokens(maxModelTokens) { | ||
this._maxModelTokens = maxModelTokens; | ||
} | ||
set maxResponseTokens(maxResponseTokens) { | ||
this._maxResponseTokens = maxResponseTokens; | ||
} | ||
get apiOrg() { | ||
@@ -385,0 +394,0 @@ return this._apiOrg; |
{ | ||
"name": "chatgpt-jdasa", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Node.js client for the official ChatGPT API,support gpt-4o and image_url.", | ||
@@ -5,0 +5,0 @@ "author": "Travis Fischer <travis@transitivebullsh.it>", |
Sorry, the diff of this file is not supported yet
133115
1344