Skip to content

fix(eve): Don't report fallback model when dynamic model is used#2233

Merged
Luca Forstner (lforst) merged 3 commits into
mainfrom
lforst/fix-custom-model-eve
Jul 15, 2026
Merged

fix(eve): Don't report fallback model when dynamic model is used#2233
Luca Forstner (lforst) merged 3 commits into
mainfrom
lforst/fix-custom-model-eve

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Jul 14, 2026

Copy link
Copy Markdown
Member

Eve has the concept of "dynamic models" and "fallback models". Fallback models are used when the chosen dynamic model doesn't work. Currently eve always reports the fallback model with a dynamic: prefix when a dynamic model is used. We should not pick this up because it causes completely wrong pricing and model data.

@lforst Luca Forstner (lforst) changed the title fix(eve): Capture dynamic model ids on llm spans fix(eve): Don't report fallback model when dynamic model is used Jul 15, 2026

@Qard Stephen Belanger (Qard) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm understanding correctly, this places the model metadata on every child span and explicitly not the root? Does our backend understand this currently for cost computation? If so, LGTM.

@lforst

Copy link
Copy Markdown
Member Author

If I'm understanding correctly, this places the model metadata on every child span and explicitly not the root? Does our backend understand this currently for cost computation? If so, LGTM.

yup as per my last knowledge, cost is aggregated through llm spans

@lforst Luca Forstner (lforst) merged commit 014eb1b into main Jul 15, 2026
91 of 93 checks passed
@lforst Luca Forstner (lforst) deleted the lforst/fix-custom-model-eve branch July 15, 2026 11:26
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.

2 participants