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

kubernetes-sigs / inference-perf / 38617044466
86%

Build:
DEFAULT BRANCH: main
Ran 14 Oct 2026 06:48PM UTC
Jobs 1
Files 135
Run time 1min
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

14 Oct 2026 06:39PM UTC coverage: 83.354% (+0.005%) from 83.349%
38617044466

push

github

web-flow
fix: send chat requests for text-only shared_prefix with api.type chat (#893)

Fixes #892

With `api.type: chat`, text-only `shared_prefix` data went to
`/v1/completions`. #450 listed Chat as supported but built chat requests
only for multimodal configs.

Text-only chat requests send each prompt as one user message, the same
text a completion request sends. Multimodal configs keep their own path.
#892 proposed building them with `prefix_text` like the multimodal path.
That rebuilds the prompt from the prefix and the question, sends a list
of content parts and logs multimodal progress for text-only runs. One
string is simpler and is exactly the completion prompt.
`tests/optional/text/cases/chat` uses this combination and expects chat
requests. #287 had the same goal and was closed for inactivity.

Breaking change: `enable_multi_turn_chat` with `api.type: chat` fails at
startup with a config error. It used to run and send completion
requests, since multi-turn sessions build only completion requests. Such
configs should set `api.type: completion`.

Testing:
- New tests: a chat config builds `/v1/chat/completions` requests whose
message is the completion prompt, a completion config still builds
completions and multi-turn with chat raises. The chat and multi-turn
tests fail before the fix.
- Against a stub server, the config from #892 sent all 12 requests to
`/v1/chat/completions`. With multi-turn added, the run exits with the
config error.
- `pytest tests` passes (2310 passed). So do `ruff check`, `ruff format
--check` and `mypy --strict`.

---------

Signed-off-by: Vu Dinh <vudinh@outlook.com>

4 of 4 new or added lines in 1 file covered. (100.0%)

12088 of 14502 relevant lines covered (83.35%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38617044466.1 14 Oct 2026 06:48PM UTC 135
83.35
GitHub Action Run
Source Files on build 38617044466
  • Tree
  • List 135
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38617044466
  • c36225c8 on github
  • Prev Build on main (#38608881240)
  • Next Build on main (#38764393792)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc