Skip to content

Add consumer extended tool registration - #12

Merged
MatthewHsu1 merged 2 commits into
mainfrom
feat/function
Sep 8, 2026
Merged

MatthewHsu1 merged 2 commits into
mainfrom
feat/function

Conversation

@MatthewHsu1

Copy link
Copy Markdown
Owner

No description provided.

The duplication was one repeated `providers:` YAML block and a handful of
repeated fixture builders, not structural slop.

- ConfigurationValidatorTests: two provider consts, three scope builders
- AddAgentCoreTests: 21 copies of the provider block reduced to two consts
- QdrantKnowledgeAdapterTests: DenseEntry, CreateDenseCollectionAsync,
  DensePoint and OptionsOf replace the repeated setup

The YAML consts compose through `$$"""` interpolation holes. Constant
interpolated raw strings fold at compile time, so each composed document is
byte-identical to the literal it replaces.

Duplicated lines in these files drop from 839 to 255; the tests folder goes
from 5.96% to 5.09% duplicated. No test was added, removed or renamed.
@MatthewHsu1
MatthewHsu1 merged commit 1b9bc4c into main Sep 8, 2026
1 check passed
@MatthewHsu1
MatthewHsu1 deleted the feat/function branch September 8, 2026 19:50
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