mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
update batch completion endpoint
This commit is contained in:
parent
1e573843ce
commit
9b51b4edd8
2 changed files with 31 additions and 2 deletions
|
@ -108,10 +108,10 @@ class Inference(Protocol):
|
|||
async def batch_completion(
|
||||
self,
|
||||
request: BatchCompletionRequest,
|
||||
) -> List[CompletionResponse]: ...
|
||||
) -> BatchCompletionResponse: ...
|
||||
|
||||
@webmethod(route="/inference/batch_chat_completion")
|
||||
async def batch_chat_completion(
|
||||
self,
|
||||
request: BatchChatCompletionRequest,
|
||||
) -> List[ChatCompletionResponse]: ...
|
||||
) -> BatchChatCompletionResponse: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue