@cobrowser/chatgpt 0.7.31-beta.3 → 0.7.31-beta.4
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.
|
@@ -56,10 +56,10 @@ class CopilotService extends BaseService_1.default {
|
|
|
56
56
|
return Promise.reject(new Error('Conversation must be provided'));
|
|
57
57
|
}
|
|
58
58
|
try {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
console.log('NOT ASSISTANT');
|
|
59
|
+
if (this.assistantId) {
|
|
60
|
+
return yield this.getAssistantReply(conversation);
|
|
61
|
+
}
|
|
62
|
+
console.log('NOT ASSISTANT 111111111111');
|
|
63
63
|
return yield this.getChatGPTQuickReplies(conversation);
|
|
64
64
|
}
|
|
65
65
|
catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobrowser/chatgpt",
|
|
3
|
-
"version": "0.7.31-beta.
|
|
3
|
+
"version": "0.7.31-beta.4",
|
|
4
4
|
"description": "chatgpt services to connect our projects with chatgpt api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatgpt",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://bitbucket.org/cobrowser/cb_utils/issues"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a9c0febce4f98443c3845381f58816a71423d82c"
|
|
44
44
|
}
|