|
@@ -19076,7 +19076,7 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '参考内容:'+this.courseText
|
|
|
## 要求
|
|
|
${message} 以及##参考资料 ${(!this.yiKeTemplateArray.includes(this.templateid)) ? "" : '以文本格式输出项目概况,驱动性问题,最终作品'}
|
|
|
|
|
|
-${(this.templateid != 'cf5722a4-401b-11ef-b873-005056b86dc4') && '## Format example 课程简要描述:课程内容的简单叙述。 驱动性问题:1个驱动整个项目的问题。 最终作品:对应解决驱动性问题的作品,可个人可团队。'}
|
|
|
+${(this.templateid != 'cf5722a4-401b-11ef-b873-005056b86dc4' && this.templateid != '9dd4bb76-1e48-11ef-bee5-005056b86db5') && '## Format example 课程简要描述:课程内容的简单叙述。 驱动性问题:1个驱动整个项目的问题。 最终作品:对应解决驱动性问题的作品,可个人可团队。'}
|
|
|
|
|
|
${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考内容>即可不用重新生成,让内容更具体化,更具体' : ''}`
|
|
|
this.aiGet(msg)
|
|
@@ -19438,7 +19438,6 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考
|
|
|
model: 'gpt-4o-2024-08-06',
|
|
|
temperature: this.mode == 3 ? 0.5 : 0.1,
|
|
|
}
|
|
|
- _this.$message.warning('提示词'+messages)
|
|
|
this.ajax
|
|
|
.post("https://gpt4.cocorobo.cn/ai_agent_park_chat", parm, this.isOutlineCancelToken)
|
|
|
.then((response) => {
|
|
@@ -19474,8 +19473,10 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考
|
|
|
}
|
|
|
|
|
|
} catch (error) {
|
|
|
- _this.$message.error('返回json格式不正确,'+data.message)
|
|
|
+ _this.$message.error('返回json格式不正确')
|
|
|
+ // +data.message
|
|
|
// _this.aiGet2(messages, callback);
|
|
|
+ _this.loading = false
|
|
|
_this.isOutlineCancelToken = null
|
|
|
console.log("error_________________" + error);
|
|
|
return;
|