Skip to content

feat(recall): add config-driven enable/disable toggle#126

Merged
jeff-r2026 merged 1 commit into
Tencent:mainfrom
jeff-r2026:feat/recall-toggle-v2
Jul 3, 2026
Merged

feat(recall): add config-driven enable/disable toggle#126
jeff-r2026 merged 1 commit into
Tencent:mainfrom
jeff-r2026:feat/recall-toggle-v2

Conversation

@jeff-r2026

@jeff-r2026 jeff-r2026 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a two-level config toggle for the recall (knowledge-base auto-search) feature
  • Team admin controls default via sharing.recall.enabled in teamai.yaml
  • User can override locally via recallEnabled in config.yaml
  • Default is OFF — recall not deployed unless explicitly enabled
  • New CLI commands: teamai recall disable / enable / status

Test plan

  • npx tsc --noEmit passes
  • npx vitest run — all 1590 tests pass
  • Manual: verify teamai recall disable removes recall artifacts
  • Manual: verify teamai pull skips recall deployment when disabled
  • Manual: verify teamai recall enable restores recall artifacts
  • Manual: verify teamai recall "query" still works regardless of toggle

🤖 Generated with Claude Code

Recall was always-on after `teamai pull`. Add a two-level config toggle:
- Team admin controls default via `sharing.recall.enabled` in teamai.yaml
- User can override locally via `recallEnabled` in config.yaml
- Default is OFF (recall not deployed unless explicitly enabled)

New commands: `teamai recall disable/enable/status`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jeff-r2026 jeff-r2026 merged commit cd6f7e9 into Tencent:main Jul 3, 2026
7 checks passed
@hsuchifeng hsuchifeng mentioned this pull request Jul 3, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant