mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 11:56:10 +02:00
Update apps/server/src/services/llm/tools/hierarchy_tools.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -120,6 +120,9 @@ export const hierarchyTools = defineTools({
|
||||
if (!targetParent.isContentAvailable()) {
|
||||
return { error: "Cannot move note to a protected parent" };
|
||||
}
|
||||
if (!targetParent.isContentAvailable()) {
|
||||
return { error: "Cannot move note to a protected parent" };
|
||||
}
|
||||
|
||||
// Use the first (primary) parent branch for the move
|
||||
const branches = note.getParentBranches();
|
||||
|
||||
Reference in New Issue
Block a user