Update docs

This commit is contained in:
Jiayi 2025-09-12 19:55:04 -07:00
parent a0e6e82c1e
commit 3538477070
7 changed files with 6 additions and 137 deletions

View file

@ -191,7 +191,6 @@ class InferenceRouter(Inference):
items: list[str | OpenAIChatCompletionContentPartTextParam | OpenAIChatCompletionContentPartImageParam],
max_num_results: int | None = None,
) -> RerankResponse:
"""Route rerank requests to the appropriate provider based on the model."""
logger.debug(f"InferenceRouter.rerank: {model}")
model_obj = await self._get_model(model, ModelType.rerank)
provider = await self.routing_table.get_provider_impl(model_obj.identifier)