mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-06 21:11:24 +02:00
symlink docs
This commit is contained in:
+1
-1
@@ -1090,7 +1090,7 @@ Enter Prompt:<br>
|
||||
response_body = (json.dumps([]).encode())
|
||||
|
||||
|
||||
elif self.path=="/api":
|
||||
elif self.path=="/api" or self.path=="/docs":
|
||||
content_type = 'text/html'
|
||||
if self.embedded_kcpp_docs is None:
|
||||
response_body = (f"KoboldCpp API is running!\n\nAPI usage reference can be found at the wiki: https://github.com/LostRuins/koboldcpp/wiki").encode()
|
||||
|
||||
Reference in New Issue
Block a user