Skip to content

Commit 54c31e4

Browse files
committed
feat(tools): planner advertises optional force:true in tool payloads for checksum-override reindex
1 parent 6497308 commit 54c31e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/discord_rag_bot/infrastructure/tool_planner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"- queue.github.repo_local (preferred for full repos): {\"repo\": string, \"branch\"?: string, \"exts\"?: string[], \"chunk_size\"?: number, \"chunk_overlap\"?: number, \"shallow\"?: boolean, \"fetch_depth\"?: number}\n"
1515
"- queue.github.repo: {\"repo\": string, \"branch\"?: string, \"exts\"?: string[], \"chunk_size\"?: number, \"chunk_overlap\"?: number}\n"
1616
"- queue.github.org: {\"org\": string, \"visibility\"?: \"all\"|\"public\"|\"private\", \"include_archived\"?: boolean, \"topics\"?: string[], \"branch\"?: string, \"exts\"?: string[], \"chunk_size\"?: number, \"chunk_overlap\"?: number, \"limit\"?: number}\n"
17+
"All tools also accept optional {\"force\": true} to ignore checksums and re-index regardless of prior state.\n"
1718
"If no tool is needed, respond with 'NONE' exactly.\n"
1819
"If a tool is needed, respond with a single fenced JSON block:\n"
1920
"```tool\\n{\"tool\":\"<name>\",\"payload\":{...}}\\n```\n"

0 commit comments

Comments
 (0)