评论+ds

This commit is contained in:
Van0313
2025-04-29 00:54:11 +08:00
parent 55ec60cdce
commit 00408f7634
2 changed files with 5 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ public class DeepSeekClientUtil {
* @throws IOException 如果网络请求或 JSON 解析失败
* @throws IllegalArgumentException 如果输入为空或过长
*/
public static String getDeepSeekResponse(String inputText) throws IOException {
public String getDeepSeekResponse(String inputText) throws IOException {
// 1. 输入校验
if (inputText == null || inputText.trim().isEmpty()) {
throw new IllegalArgumentException("输入文本不能为空");