mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-27 09:03:16 +08:00
Changing the repo name
This commit is contained in:
@ -75,9 +75,9 @@ public class AzureOpenAIEventSourceListener extends EventSourceListener {
|
||||
if (Objects.isNull(response)) {
|
||||
String message = t.getMessage();
|
||||
if ("No route to host".equals(message)) {
|
||||
message = "网络连接超时,请检查网络连通性,参考文章<https://github.com/alibaba/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>";
|
||||
message = "网络连接超时,请检查网络连通性,参考文章<https://github.com/chat2db/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>";
|
||||
} else {
|
||||
message = "Azure AI无法正常访问,请参考文章<https://github.com/alibaba/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
message = "Azure AI无法正常访问,请参考文章<https://github.com/chat2db/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
}
|
||||
Message sseMessage = new Message();
|
||||
sseMessage.setContent(message);
|
||||
|
@ -81,9 +81,9 @@ public class OpenAIEventSourceListener extends EventSourceListener {
|
||||
if (Objects.isNull(response)) {
|
||||
String message = t.getMessage();
|
||||
if ("No route to host".equals(message)) {
|
||||
message = "网络连接超时,请检查网络连通性,参考文章<https://github.com/alibaba/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>";
|
||||
message = "网络连接超时,请检查网络连通性,参考文章<https://github.com/chat2db/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>";
|
||||
} else {
|
||||
message = "AI无法正常访问,请参考文章<https://github.com/alibaba/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
message = "AI无法正常访问,请参考文章<https://github.com/chat2db/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
}
|
||||
Message sseMessage = new Message();
|
||||
sseMessage.setContent(message);
|
||||
|
@ -78,7 +78,7 @@ public class RestAIEventSourceListener extends EventSourceListener {
|
||||
try {
|
||||
if (Objects.isNull(response)) {
|
||||
String message = t.getMessage();
|
||||
message = message + ", AI无法正常访问, 请参考文章<https://github.com/alibaba/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
message = message + ", AI无法正常访问, 请参考文章<https://github.com/chat2db/Chat2DB/blob/main/CHAT2DB_AI_SQL.md>进行配置";
|
||||
Message sseMessage = new Message();
|
||||
sseMessage.setContent(message);
|
||||
sseEmitter.send(SseEmitter.event()
|
||||
|
Reference in New Issue
Block a user