opt
This commit is contained in:
parent
566ed1d880
commit
e3d46789e0
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user