Merge branch 'main' of https://gitea.umutalihandikel.com/alihan/mcphost-api
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
supervisor.conf
|
||||||
|
supervisor
|
||||||
.venv
|
.venv
|
||||||
venv
|
venv
|
||||||
config.json
|
config.json
|
||||||
@@ -5,4 +7,4 @@ bins/mcphost
|
|||||||
mcphost_openai_api.log.*
|
mcphost_openai_api.log.*
|
||||||
commons/settings.py
|
commons/settings.py
|
||||||
.idea
|
.idea
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|||||||
@@ -40,4 +40,4 @@ def setup_logger():
|
|||||||
diagnose=True
|
diagnose=True
|
||||||
)
|
)
|
||||||
|
|
||||||
return logger
|
return logger
|
||||||
|
|||||||
@@ -181,4 +181,4 @@ class MCPHostManager:
|
|||||||
break
|
break
|
||||||
|
|
||||||
logger.debug("Collected response length: {} characters", len(response))
|
logger.debug("Collected response length: {} characters", len(response))
|
||||||
return response
|
return response
|
||||||
|
|||||||
3
logs.sh
Normal file
3
logs.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
tail -f supervisor/logs/llm-api-mcphost.log
|
||||||
@@ -124,4 +124,4 @@ async def health_check():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import uvicorn
|
import uvicorn
|
||||||
uvicorn.run(app, host="0.0.0.0", port=8000)
|
uvicorn.run(app, host=settings.host, port=settings.port)
|
||||||
|
|||||||
Reference in New Issue
Block a user