1
This commit is contained in:
@@ -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接口
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user