Skip to content

add response headers for model tracking and observability - #995

Open
smtdfc wants to merge 3 commits into
decolua:masterfrom
smtdfc:master
Open

add response headers for model tracking and observability#995
smtdfc wants to merge 3 commits into
decolua:masterfrom
smtdfc:master

Conversation

@smtdfc

@smtdfc smtdfc commented May 9, 2026

Copy link
Copy Markdown

Description

This PR adds custom response headers to the handleComboChat function to improve observability for downstream clients.

Key Changes

  • x-9router-combo: Set to true for all combo requests.
  • x-9router-model: Returns the name of the model that handled the request.

Example Response Headers

HTTP/1.1 200 OK
Content-Type: application/json
x-9router-combo: true
x-9router-model: gpt-4o-mini

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.

1 participant