# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-10-08 13:46:44 -07:00
parent 96886afaca
commit 0424e33172
205 changed files with 71717 additions and 2042 deletions

View file

@ -277,6 +277,7 @@ class InferenceRouter(Inference):
top_logprobs: int | None = None,
top_p: float | None = None,
user: str | None = None,
**kwargs: Any,
) -> OpenAIChatCompletion | AsyncIterator[OpenAIChatCompletionChunk]:
logger.debug(
f"InferenceRouter.openai_chat_completion: {model=}, {stream=}, {messages=}",
@ -323,6 +324,7 @@ class InferenceRouter(Inference):
top_logprobs=top_logprobs,
top_p=top_p,
user=user,
**kwargs,
)
provider = await self.routing_table.get_provider_impl(model_obj.identifier)
if stream: