Repository navigation
fix(ai): a hosted gateway call names its provider as backend (#5546) - #7714
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 29, 2026 06:44
Contributor
|
Pull request #7714 has merge conflicts with |
dan-petty
force-pushed
the
fix/5546-hosted-gateway-backend
branch
from
November 29, 2026 12:40
99008b5 to
a1db3d9
Compare
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 29, 2026
🤖 I have created a release *beep* *boop* --- ## [0.248.0](v0.247.0...v0.248.0) (2026-11-29) ### Features * **ai:** send per-run trace header to gateway ([#5437](#5437)) ([#7735](#7735)) ([f52522f](f52522f)) * **docs:** docs check refuses unknown settings, variables and flags ([#7765](#7765)) ([1a78e55](1a78e55)) * **docs:** enable rumdl MD038 checks for docs and specs ([#7741](#7741)) ([28e9e42](28e9e42)) * **monitoring:** align grafana and prometheus route names ([#7766](#7766)) ([375b9ed](375b9ed)) * **monitoring:** require Do this steps for product alert rows ([#5471](#5471)) ([#7748](#7748)) ([e0510db](e0510db)) * **research:** read Renovate and endoflife.date releases ([#3907](#3907)) ([#7753](#7753)) ([4fad9c7](4fad9c7)) * **roadmap:** onboard a repository that lacks a project dependency ([#7761](#7761)) ([9bf03d8](9bf03d8)) * **roadmap:** record run, step and path class on tool calls ([#5460](#5460)) ([#7742](#7742)) ([062895b](062895b)) * **roadmap:** render trusted hooks in implement prompt ([#4645](#4645)) ([#7759](#7759)) ([bdb264a](bdb264a)) * **roadmap:** the question resolver finds and classes open questions ([#7764](#7764)) ([107944d](107944d)) * **service:** redeliver failed App webhook deliveries ([#4560](#4560)) ([#7758](#7758)) ([897b095](897b095)) ### Bug Fixes * **ai:** a hosted gateway call names its provider as backend ([#5546](#5546)) ([#7714](#7714)) ([06dabb7](06dabb7)) * **ci:** fail a gate module with no cases ([#7709](#7709)) ([fb783cb](fb783cb)) * **cli:** use StrEnum choices for all --format options ([#7738](#7738)) ([7fb0058](7fb0058)), closes [#4943](#4943) * **roadmap:** log tokens on refine and alternatives lines ([#7711](#7711)) ([e35db67](e35db67)) * **roadmap:** stop Loki calls with no localhost fallback ([#7716](#7716)) ([35f57e0](35f57e0)) ### Performance Improvements * **ci:** faster commit hooks and more fast pre-push checks ([#7762](#7762)) ([b5f4cac](b5f4cac)) * **k8s:** count hosted_vllm TEI embeddings in local savings ([#4975](#4975)) ([#7705](#7705)) ([d8ef887](d8ef887)) ### Code Refactoring * **k8s:** remove unused Portkey gateway ([#5007](#5007)) ([#7710](#7710)) ([fb2fa2b](fb2fa2b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
backend_label(served_by, served_model)to derive the serving backend from theserved_byhost first and fall back to the LiteLLM provider prefix inserved_modelfor hosted gateway calls. StorebackendonSpendRecordandai_spend_recordsfrom the same helper used for Prometheus metric labels so the ledger and metrics match.Closes #5546
Change:
openspec/changes/archive/2026-11-29-5546-hosted-gateway-backend/