|
@@ -68,6 +68,7 @@ export default {
|
|
|
isRecord: false,
|
|
|
isPlayerRecord: false,
|
|
|
isloading: false,
|
|
|
+ id: this.guid()
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -111,7 +112,7 @@ export default {
|
|
|
answerCode(msg) {
|
|
|
var _this = this;
|
|
|
_this.ajax.post('https://gpt4.cocorobo.cn/assistants_completion_response', {
|
|
|
- uid: _this.guid(),
|
|
|
+ uid: _this.id,
|
|
|
message: msg,
|
|
|
}).then(function (response) {
|
|
|
console.log(response);
|
|
@@ -346,7 +347,7 @@ export default {
|
|
|
_this.ajax.post('https://gpt4.cocorobo.cn/create_free_assistants', {
|
|
|
filename: [],
|
|
|
url: [],
|
|
|
- uid: _this.guid(),
|
|
|
+ uid: _this.id,
|
|
|
instructions: content,
|
|
|
assistantName: name
|
|
|
}).then(function (response) {
|