Skip to content

fix(recall): model_hint for subagent + auto-recall test fix#53

Closed
m0Nst3r873 wants to merge 1 commit into
Tencent:mainfrom
m0Nst3r873:fix/cli-hooks-recall
Closed

fix(recall): model_hint for subagent + auto-recall test fix#53
m0Nst3r873 wants to merge 1 commit into
Tencent:mainfrom
m0Nst3r873:fix/cli-hooks-recall

Conversation

@m0Nst3r873

Copy link
Copy Markdown
Contributor

Summary

  • Add model_hint guidance in recall rule: instruct main agent to use mid-tier model for recall subagent (cost optimization)
  • Fix auto-recall test: add missing v4 index fields (version/type/domain/df) to prevent isLegacyIndex rebuild in test env

3 files, +18 lines.

Test plan

  • npx tsc --noEmit
  • npx vitest run (all 98 auto-recall tests pass)

1. Recall agent model_hint (builtin-rules.ts + agents/teamai-recall.md):
   - Guide main agent to use mid-tier model for recall subagent
   - Balances cost/latency with tool-calling capability requirement

2. Auto-recall test fix (auto-recall.test.ts):
   - Add missing version/type/domain/df fields to test search index
   - Prevents isLegacyIndex() from triggering rebuild in isolated tests
@m0Nst3r873 m0Nst3r873 force-pushed the fix/cli-hooks-recall branch from 4da739c to fd82233 Compare June 26, 2026 03:48
@m0Nst3r873 m0Nst3r873 closed this Jun 26, 2026
@m0Nst3r873

Copy link
Copy Markdown
Contributor Author

Closing in favor of restructured PRs with bug fixes. The code has been reorganized into functionally-complete PRs where each PR includes its CLI entry point (no dead code). See the new PR series.

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