llm as judge, move folders

This commit is contained in:
Xi Yan 2024-10-25 16:41:36 -07:00
parent bf8bc7a781
commit 16620a8185
13 changed files with 173 additions and 66 deletions

View file

@ -97,6 +97,7 @@ class InferenceRouter(Inference):
logprobs=logprobs,
)
provider = self.routing_table.get_provider_impl(model)
if stream:
return (chunk async for chunk in await provider.chat_completion(**params))
else: