Skip to content

feat: add llm lifecycle hooks and exact tool batch selection#201

Merged
duguwanglong merged 1 commit intomainfrom
feat/llm-hooks-tool-select-search
Apr 28, 2026
Merged

feat: add llm lifecycle hooks and exact tool batch selection#201
duguwanglong merged 1 commit intomainfrom
feat/llm-hooks-tool-select-search

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented Apr 28, 2026

Summary

  • Add llm.call.before and llm.call.after hook stages in the hook pipeline and wire them into runner LLM call flow with structured hook payloads.
  • Improve tool catalog discovery by normalizing aliases/canonical names and supporting deterministic exact selection via select:tool_a,tool_b.
  • Update tool_search docs/output to include normalized query metadata and add regression tests for hook execution and tool selection behavior.

…tion

Emit llm before/after hook stages around model calls and expose normalized query metadata. Improve tool discovery with canonical alias matching and select:name batching so known tools can be loaded deterministically in one call.

Made-with: Cursor
@duguwanglong duguwanglong merged commit ca368aa into main Apr 28, 2026
2 checks passed
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.

2 participants