This commit is contained in:
TCUDIKEL
2025-05-11 00:37:24 +03:00
5 changed files with 9 additions and 4 deletions

4
.gitignore vendored
View File

@@ -1,3 +1,5 @@
supervisor.conf
supervisor
.venv
venv
config.json
@@ -5,4 +7,4 @@ bins/mcphost
mcphost_openai_api.log.*
commons/settings.py
.idea
__pycache__
__pycache__

View File

@@ -40,4 +40,4 @@ def setup_logger():
diagnose=True
)
return logger
return logger

View File

@@ -181,4 +181,4 @@ class MCPHostManager:
break
logger.debug("Collected response length: {} characters", len(response))
return response
return response

3
logs.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
tail -f supervisor/logs/llm-api-mcphost.log

View File

@@ -124,4 +124,4 @@ async def health_check():
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8000)
uvicorn.run(app, host=settings.host, port=settings.port)