|
|
@@ -7965,9 +7965,23 @@ export default {
|
|
|
let sagentid = this.aiJson.sagentid
|
|
|
let url = ''
|
|
|
if(sagentid){
|
|
|
- url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ if(this.lang.lang == 'com'){
|
|
|
+ url = `https://cloud.cocorobo.com/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }else if(this.lang.lang == 'hk'){
|
|
|
+ url = `https://cloud.cocorobo.hk/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }else{
|
|
|
+ url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }
|
|
|
+ // url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${sagentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
}else{
|
|
|
- url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ if(this.lang.lang == 'com'){
|
|
|
+ url = `https:/cloud.cocorobo.com/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }else if(this.lang.lang == 'hk'){
|
|
|
+ url = `https://cloud.cocorobo.hk/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }else{
|
|
|
+ url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
+ }
|
|
|
+ // url = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=${agentid}&isPbl=true&session_id=${this.chatid}`//+'&muti_agent_id2='+agentid
|
|
|
}
|
|
|
return url;
|
|
|
},
|
|
|
@@ -12566,6 +12580,10 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
if(!this.targetCourseText2){
|
|
|
this.courseText = this.teacherCourseText ? JSON.parse(JSON.stringify(this.teacherCourseText)) : this.courseText
|
|
|
}
|
|
|
+ let imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png'
|
|
|
+ if (this.lang.lang == 'com') {
|
|
|
+ imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2F%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20260112142829_1081_2831768354076152.png'
|
|
|
+ }
|
|
|
let params = [
|
|
|
{
|
|
|
uid: this.userid,
|
|
|
@@ -12577,7 +12595,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
: JSON.stringify([
|
|
|
{
|
|
|
name: "noBanner.jpg",
|
|
|
- url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
|
|
|
+ url: imgUrl,
|
|
|
uid: 1656409780264,
|
|
|
status: "success",
|
|
|
},
|
|
|
@@ -12849,6 +12867,10 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
if(!this.targetCourseText2){
|
|
|
this.courseText = this.teacherCourseText ? JSON.parse(JSON.stringify(this.teacherCourseText)) : this.courseText
|
|
|
}
|
|
|
+ let imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png'
|
|
|
+ if (this.lang.lang == 'com') {
|
|
|
+ imgUrl = 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2F%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20260112142829_1081_2831768354076152.png'
|
|
|
+ }
|
|
|
let params = [
|
|
|
{
|
|
|
cid: this.cid,
|
|
|
@@ -12860,7 +12882,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
: JSON.stringify([
|
|
|
{
|
|
|
name: "noBanner.jpg",
|
|
|
- url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
|
|
|
+ url: imgUrl,
|
|
|
uid: 1656409780264,
|
|
|
status: "success",
|
|
|
},
|
|
|
@@ -16861,7 +16883,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
_this.cover = [];
|
|
|
setTimeout(() => {
|
|
|
_this.cover[0] = {
|
|
|
- name: this.lang.ssNetImgPng,
|
|
|
+ name: _this.lang.ssNetImgPng,
|
|
|
url: data[0].thumbnail,
|
|
|
};
|
|
|
_this.imgChange1(null, null, 1, null);
|
|
|
@@ -24824,7 +24846,8 @@ ${this.targetCourseText && this.aiCallBack == 2 ? '注意,优化原有的<参
|
|
|
_this.isTargetCancelToken2 = _this.ajax.setCancelSource();
|
|
|
|
|
|
let messages = `Language: ${this.getLang()}
|
|
|
-
|
|
|
+ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
+Instruction: Based on the context, follow "Format example", write content.
|
|
|
${msg}
|
|
|
|
|
|
## 课程信息
|
|
|
@@ -24931,12 +24954,12 @@ ${msg}
|
|
|
|
|
|
# Format example
|
|
|
==
|
|
|
-0 星,作业内容与作业要求无关;
|
|
|
-1 星,没有识别问题和需求;
|
|
|
-2 星,问题或需求没有被清晰理解或准确识别;
|
|
|
-3 星,问题或需求的一部分被识别;
|
|
|
-4 星,问题或需求的大部分被识别;
|
|
|
-5 星,问题或需求都被识别。
|
|
|
+${this.lang.ssStar0},作业内容与作业要求无关;
|
|
|
+${this.lang.ssStar1},没有识别问题和需求;
|
|
|
+${this.lang.ssStar2},问题或需求没有被清晰理解或准确识别;
|
|
|
+${this.lang.ssStar3},问题或需求的一部分被识别;
|
|
|
+${this.lang.ssStar4},问题或需求的大部分被识别;
|
|
|
+${this.lang.ssStar5},问题或需求都被识别。
|
|
|
==
|
|
|
|
|
|
`
|
|
|
@@ -25026,7 +25049,7 @@ ${msg}
|
|
|
content = match[1].trim().replaceAll(' ', '');
|
|
|
// 获取匹配到的内容并去除两端空格
|
|
|
console.log('contentInsideDoubleEquals', content);
|
|
|
- if (content.indexOf(_this.lang.ssStar0) == -1 || content.indexOf(_this.lang.ssStar2) == -1 || content.indexOf(_this.lang.ssStar3) == -1 || content.indexOf(_this.lang.ssStar4) == -1 || content.indexOf(_this.lang.ssStar5) == -1) {
|
|
|
+ if (content.indexOf(_this.lang.ssStar0) == -1 || content.indexOf(_this.lang.ssStar1) == -1 || content.indexOf(_this.lang.ssStar2) == -1 || content.indexOf(_this.lang.ssStar3) == -1 || content.indexOf(_this.lang.ssStar4) == -1 || content.indexOf(_this.lang.ssStar5) == -1) {
|
|
|
console.log("未有星级。");
|
|
|
this.againEva(msg, i, k)
|
|
|
return
|