Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koboldcpp.py
Original file line number Diff line number Diff line change
@@ -1504,7 +1504,7 @@ def do_POST(self):
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'):

0 comments on commit f529ef2

Please sign in to comment.