mirror of
https://github.com/NousResearch/atropos.git
synced 2026-05-01 17:45:16 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7bf4cfbf80
commit
0d80da5146
4 changed files with 18 additions and 10 deletions
|
|
@ -148,7 +148,8 @@ class SGLangServer(APIServer):
|
|||
kwargs.get("model", None) is not None
|
||||
), "Model is required for completion!"
|
||||
assert (
|
||||
kwargs.get("prompt", None) is not None or kwargs.get("input_ids", None) is not None
|
||||
kwargs.get("prompt", None) is not None
|
||||
or kwargs.get("input_ids", None) is not None
|
||||
), "Prompt or input_ids is required for completion!"
|
||||
|
||||
# Get n parameter for number of completions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue