fix: failure in responses during construct metrics (#4157)

# What does this PR do?
Without this we get below in server logs
```
RuntimeError: OpenAI response failed: InferenceRouter._construct_metrics() got an unexpected keyword argument  
         'model_id'          
```
Seems the method signature got update but this callsite was not updated
## Test Plan
CI and test with Sabre (Agent framework integration)
This commit is contained in:
slekkala1 2025-11-13 14:21:03 -08:00 committed by GitHub
parent a82b79ce57
commit ba744d791a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -417,7 +417,7 @@ class InferenceRouter(Inference):
prompt_tokens=chunk.usage.prompt_tokens, prompt_tokens=chunk.usage.prompt_tokens,
completion_tokens=chunk.usage.completion_tokens, completion_tokens=chunk.usage.completion_tokens,
total_tokens=chunk.usage.total_tokens, total_tokens=chunk.usage.total_tokens,
model_id=fully_qualified_model_id, fully_qualified_model_id=fully_qualified_model_id,
provider_id=provider_id, provider_id=provider_id,
) )
for metric in metrics: for metric in metrics: