mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(skill): use getModel instead of nonexistent getById in SkillSynthesisService
This commit is contained in:
parent
1fdf87b31e
commit
04ad281ffd
@ -224,7 +224,7 @@ public class SkillSynthesisService {
|
||||
ModelConfigEntity model = null;
|
||||
if (properties.getModelId() != null && !properties.getModelId().isBlank()) {
|
||||
try {
|
||||
model = modelConfigService.getById(Long.parseLong(properties.getModelId()));
|
||||
model = modelConfigService.getModel(Long.parseLong(properties.getModelId()));
|
||||
} catch (Exception e) {
|
||||
log.warn("[SkillSynthesis] Invalid modelId '{}', falling back to default", properties.getModelId());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user