This commit is contained in:
Luke.Ye 2025-07-08 23:36:35 +08:00
parent 566ed1d880
commit e3d46789e0

View File

@ -142,6 +142,7 @@ public class LLMAppServiceImpl implements LLMAppService {
toPinDocs.forEach(doc -> { toPinDocs.forEach(doc -> {
try { try {
anythingLLMService.updatePin(llmToken, workspaceSlug, doc.getDocpath(), true); anythingLLMService.updatePin(llmToken, workspaceSlug, doc.getDocpath(), true);
doc.setPinned(true);
} catch (Exception e) { } catch (Exception e) {
log.warn("pin失败: {}", doc, e); log.warn("pin失败: {}", doc, e);
} }