inline -> sync

This commit is contained in:
Xi Yan 2025-03-16 20:46:07 -07:00
parent 1860751655
commit cb492eba37
3 changed files with 121 additions and 121 deletions

View file

@ -129,8 +129,8 @@ class Evaluation(Protocol):
"""
...
@webmethod(route="/evaluation/run_inline", method="POST")
async def run_inline(
@webmethod(route="/evaluation/run_sync", method="POST")
async def run_sync(
self,
task: EvaluationTask,
candidate: EvaluationCandidate,
@ -160,8 +160,8 @@ class Evaluation(Protocol):
"""
...
@webmethod(route="/evaluation/grade_inline", method="POST")
async def grade_inline(self, task: EvaluationTask) -> EvaluationResponse:
@webmethod(route="/evaluation/grade_sync", method="POST")
async def grade_sync(self, task: EvaluationTask) -> EvaluationResponse:
"""
Run an grading job with generated results inline.