• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 22217122356

20 Feb 2026 08:34AM UTC coverage: 62.544% (-0.03%) from 62.574%
22217122356

push

github

web-flow
Add real TEI embedding client for semantic tool discovery (#3844)

* Add real TEI embedding client for semantic tool discovery

Introduce a TEIClient that calls the HuggingFace Text Embeddings Inference
HTTP API for vector embeddings, replacing the need for fake/deterministic
embeddings in production. The store factory now selects between a real TEI
client (when a service URL is configured), a fake client (for testing), or
FTS5-only search.

Wire the full OptimizerConfig through the server instead of a boolean flag,
so the embedding service URL and timeout are available when creating the
store and client.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Addressed comments - passed OptimizerConfig to teiclient and simplified EmbeddingClient init

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

70 of 90 new or added lines in 4 files covered. (77.78%)

41 existing lines in 6 files now uncovered.

45668 of 73017 relevant lines covered (62.54%)

74.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.79
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc