mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 19:12:09 +00:00
fix
This commit is contained in:
parent
124040af77
commit
e68e8c96ae
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ class ScoringFunctions(Protocol):
|
||||||
|
|
||||||
@webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET")
|
@webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET")
|
||||||
async def get_scoring_function(
|
async def get_scoring_function(
|
||||||
self, scoring_fn_id: str, /
|
self,
|
||||||
|
scoring_fn_id: str,
|
||||||
) -> Optional[ScoringFn]: ...
|
) -> Optional[ScoringFn]: ...
|
||||||
|
|
||||||
@webmethod(route="/scoring-functions", method="POST")
|
@webmethod(route="/scoring-functions", method="POST")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue