Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 7, 2025

Enhances test coverage with additional edge cases and scenarios:

KeywordMetadataEnricher:

  • Empty documents list handling
  • Single document processing
  • Existing metadata preservation
  • Empty/whitespace response handling
  • Keyword overwriting behavior
  • Builder pattern with mixed configurations
  • Special characters in content

ToolRuntimeHints:

  • Custom ClassLoader support
  • Multiple registration calls
  • Instance creation validation

Usage:

  • Zero token edge cases for prompt/completion tokens
  • Total token calculation with various inputs

These tests improve reliability by covering previously untested paths and edge cases.

…imeHints, and Usage classes

Signed-off-by: Alex Klimenko <[email protected]>
@sobychacko
Copy link
Contributor

Merged via c893629.

@sobychacko sobychacko closed this Aug 7, 2025
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants