Skip to content

Update usage-log model attribution after a model switch #129

Open

Description

@oxa-agent

The request observer currently caches the model id when the session attaches. A later interactive or RPC model switch keeps the same observer, so later rows can attribute usage to the initial model.

Capture the actual request model in the per-call record. Add coverage for one session that logs a request, switches models, and logs a second request with the new model id.

Review thread on oxstack/ox-llm#1607.

Activity

  1. n0rpan commented on Nov 19, 2026

    @n0rpan
    Contributor

    Triage 2026-11-19: this issue is now tracked in #158 (Cluster: Usage, budgets and the desktop panel, priority P1), planned PR 1: "Status envelope and usage". It will be fixed there together with its related issues, not one by one.

  2. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions