This commit is contained in:
van
2026-04-05 21:35:32 +08:00
parent 2b9cd6dd2e
commit f02de5950e

View File

@@ -274,6 +274,21 @@ public class SocialMediaController extends BaseController
} }
} }
/**
* 大模型连通测试(转发 Jarvis默认问题 1+1
*/
@Log(title = "大模型连通测试", businessType = BusinessType.OTHER)
@PostMapping("/llm-config/test")
public AjaxResult testLlmProfile(@RequestBody(required = false) Map<String, Object> request)
{
try {
return socialMediaService.testLlmProfile(request);
} catch (Exception e) {
logger.error("大模型连通测试失败", e);
return AjaxResult.error("测试失败: " + e.getMessage());
}
}
/** /**
* 闲鱼文案(手动):根据标题+可选型号生成代下单、教你下单文案不依赖JD接口 * 闲鱼文案(手动):根据标题+可选型号生成代下单、教你下单文案不依赖JD接口
*/ */