fix: dont check protocol compliance for experimental methods

This commit is contained in:
Ashwin Bharambe 2025-04-12 12:17:39 -07:00
parent ad86a68a32
commit 8b4158169f
3 changed files with 8 additions and 2 deletions

View file

@ -726,7 +726,7 @@ class Inference(Protocol):
"""
...
@webmethod(route="/inference/batch-completion", method="POST")
@webmethod(route="/inference/batch-completion", method="POST", experimental=True)
async def batch_completion(
self,
model_id: str,
@ -777,7 +777,7 @@ class Inference(Protocol):
"""
...
@webmethod(route="/inference/batch-chat-completion", method="POST")
@webmethod(route="/inference/batch-chat-completion", method="POST", experimental=True)
async def batch_chat_completion(
self,
model_id: str,