mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
alias completion to completions
This commit is contained in:
parent
1bf07ceabd
commit
f529ef26df
1 changed files with 1 additions and 1 deletions
|
@ -1504,7 +1504,7 @@ Enter Prompt:<br>
|
|||
api_format = 2
|
||||
sse_stream_flag = True
|
||||
|
||||
if self.path.endswith('/v1/completions'):
|
||||
if self.path.endswith('/v1/completions') or self.path.endswith('/v1/completion'):
|
||||
api_format = 3
|
||||
|
||||
if self.path.endswith('/v1/chat/completions'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue