|
@@ -1037,7 +1037,7 @@ export default {
|
|
|
// .post("https://gpt4.cocorobo.cn/chat", params)
|
|
|
.post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
|
|
|
.then(res => {
|
|
|
- if (res.data.FunctionResponse.result == "发送成功") {
|
|
|
+ if (converter(res.data.FunctionResponse.result) == converter("发送成功")) {
|
|
|
} else {
|
|
|
// this.$message.warning(res.data.FunctionResponse.result);
|
|
|
console.log(res.data.FunctionResponse.result)
|
|
@@ -1204,7 +1204,7 @@ ${_atList
|
|
|
// .post("https://claude3.cocorobo.cn/chat", params)
|
|
|
.post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
|
|
|
.then(res => {
|
|
|
- if (res.data.FunctionResponse.result == "发送成功") {
|
|
|
+ if (converter(res.data.FunctionResponse.result) == converter("发送成功")) {
|
|
|
} else {
|
|
|
// this.$message.warning(res.data.FunctionResponse.result);
|
|
|
console.log(res.data.FunctionResponse.result)
|
|
@@ -1938,7 +1938,7 @@ ${_wordData}
|
|
|
// .post("https://claude3.cocorobo.cn/chat", params)
|
|
|
.post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
|
|
|
.then(res => {
|
|
|
- if (res.data.FunctionResponse.result == "发送成功") {
|
|
|
+ if (converter(res.data.FunctionResponse.result) == converter("发送成功")) {
|
|
|
this.loading = false;
|
|
|
} else {
|
|
|
// this.$message.warning(res.data.FunctionResponse.result);
|
|
@@ -2132,7 +2132,7 @@ ${_wordData}
|
|
|
// .post("https://claude3.cocorobo.cn/chat", params)
|
|
|
.post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
|
|
|
.then(res => {
|
|
|
- if (res.data.FunctionResponse.result == "发送成功") {
|
|
|
+ if (converter(res.data.FunctionResponse.result) == converter("发送成功")) {
|
|
|
} else {
|
|
|
// this.$message.warning(res.data.FunctionResponse.result);
|
|
|
console.log(res.data.FunctionResponse.result)
|