TASK:LLM;

This commit is contained in:
shahaibo
2025-05-20 10:42:18 +08:00
parent cef2fca099
commit ab804d57c1

View File

@@ -79,7 +79,7 @@ public class LLMServiceImpl implements LLMService {
AuthPrincipalVo principal = jwtTokenHelper.parserToUser(token); AuthPrincipalVo principal = jwtTokenHelper.parserToUser(token);
Long accountId = principal.getId(); Long accountId = principal.getId();
int userSeq = getNextSeq(projectId); // 获取当前session下一条消息序号 int userSeq = getNextSeq(projectId); // 获取当前session下一条消息序号
String url = "http://127.0.0.1:2011/chat-stream"; String url = "http://18.167.251.121:2011/chat-stream";
// String url = "http://10.1.1.240:1013/chat-stream"; // String url = "http://10.1.1.240:1013/chat-stream";
HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection(); HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
conn.setRequestMethod("POST"); conn.setRequestMethod("POST");