评论+ds
This commit is contained in:
@@ -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("输入文本不能为空");
|
||||
|
||||
Reference in New Issue
Block a user