@cobrowser/chatgpt 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@ class BaseService {
|
|
|
14
14
|
* @param maxNumberOfChoices How many chat completion choices to generate for each request.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
constructor(apiKey = process.env.OPEN_AI_API_KEY, model = 'gpt-
|
|
17
|
+
constructor(apiKey = process.env.OPEN_AI_API_KEY, model = 'gpt-4o', apiUrl, maxNumberOfChoices = 1) {
|
|
18
18
|
Object.defineProperty(this, "request", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
configurable: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobrowser/chatgpt",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"description": "chatgpt services to connect our projects with chatgpt api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatgpt",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bugs": {
|
|
40
40
|
"url": "https://bitbucket.org/cobrowser/cb_utils/issues"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c49545b6b4c4b12098c6d1c64ce48305f31a36fc"
|
|
43
43
|
}
|