Changeset 0.21.4 (#90)

This commit is contained in:
2026-03-01 19:42:22 +00:00
parent bbbbe65bfa
commit d67cfd37c2
21 changed files with 1572 additions and 11 deletions

View File

@@ -402,11 +402,14 @@ func (h *CompletionHandler) buildToolDefs(ctx context.Context, userID string, in
disabled[name] = true
}
// If no workspace is bound, disable workspace tools
// If no workspace is bound, disable workspace + git tools
if workspaceID == "" {
for _, name := range tools.WorkspaceToolNames() {
disabled[name] = true
}
for _, name := range tools.GitToolNames() {
disabled[name] = true
}
}
allTools := tools.AllDefinitionsFiltered(disabled)