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

stacklok / toolhive / 28267642899
67%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2026 10:05PM UTC
Jobs 1
Files 762
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2026 09:59PM UTC coverage: 67.359% (+0.02%) from 67.343%
28267642899

push

github

web-flow
Add OpenAI-compatible embedding client to vmcp optimizer (#5633)

* Add OpenAI-compatible embedding client to vmcp

The vmcp optimizer only spoke the TEI embedding API. Add an "openai"
provider for OpenAI-compatible services (OpenAI, Azure, Bifrost,
LiteLLM), selected via optimizer.embeddingProvider with the model in
embeddingModel and the key read from OPENAI_API_KEY. Defaults to "tei",
so existing configs are unaffected.

Closes #5305

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

* Reject embeddingServerRef with openai provider

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

* Drain OpenAI response body before close

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

* Trim trailing slash from OpenAI base URL

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

* Add live OpenAI embedding integration test

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

* Generalize embedding gateway examples

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

---------

Signed-off-by: Gabriel Cosi <contact@gabrielcosi.dev>

117 of 129 new or added lines in 3 files covered. (90.7%)

16 existing lines in 5 files now uncovered.

69706 of 103484 relevant lines covered (67.36%)

65.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
86.96
pkg/vmcp/optimizer/internal/similarity/openai_client.go

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
97.37
-0.53% pkg/authz/authorizers/cedar/core.go
3
80.42
-0.71% pkg/transport/proxy/httpsse/http_proxy.go
2
96.03
0.0% pkg/authserver/storage/memory.go
2
93.94
-6.06% pkg/foreach/foreach.go
Jobs
ID Job ID Ran Files Coverage
1 28267642899.1 26 Jun 2026 10:05PM UTC 762
67.36
GitHub Action Run
Source Files on build 28267642899
  • Tree
  • List 762
  • Changed 10
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28267642899
  • 81fc91fe on github
  • Prev Build on main (#28260022048)
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