Skip to content

Support budgeted per-source suffixes - #28

Merged
aakashH242 merged 1 commit into
mainfrom
feat/budget-context-suffixes
Sep 6, 2026
Merged

aakashH242 merged 1 commit into
mainfrom
feat/budget-context-suffixes

Conversation

@aakashH242

Copy link
Copy Markdown
Collaborator

Summary

  • add an optional ContextSource suffix for balanced per-source wrappers
  • budget prefixes, retained evidence, suffixes, separators, and omission markers as one rendered context
  • keep wrapper text out of ranking, embeddings, per-source counts, and source spans
  • preserve plain-string and prefix-only behavior
  • document the end-user contract and prepare version 0.6.0

Verification

  • 274 non-integration tests passed with 97.06% coverage
  • real FastEmbed integration test passed
  • Ruff check and format passed
  • strict mypy passed
  • strict MkDocs build passed
  • sdist and wheel build passed
  • installed wheel passed metadata inspection, uv pip check, and sync/async API smoke tests
  • randomized rendering and brute-force exact-fallback checks passed

Closes #27

@aakashH242
aakashH242 merged commit d8718b7 into main Sep 6, 2026
16 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.

Support budgeted per-source suffixes in shared context output

1 participant