docs(proxy_server.md): adding /ollama_logs endpoint to docs

This commit is contained in:
Krrish Dholakia 2023-10-07 20:38:19 -07:00
parent d64ad69189
commit 3f7f7fd886
2 changed files with 11 additions and 9 deletions

View file

@ -209,13 +209,4 @@ async def retrieve_server_log(request: Request):
filepath = os.path.expanduser('~/.ollama/logs/server.log')
return FileResponse(filepath)
# @router.get("/ollama_logs")
# async def chat_completion(request: Request):
# if platform.system() == "Darwin":
# print("This is a MacOS system.")
# elif platform.system() == "Linux":
# print("This is a Linux system.")
# else:
# print("This is an unknown operating system.")
app.include_router(router)