Fix #1
All checks were successful
Build and push Docker image at git tag / build (push) Successful in 55s

This commit is contained in:
2024-10-31 16:25:37 +01:00
parent e7910021dd
commit cc4bb9a7e8
13 changed files with 1157 additions and 989 deletions

View File

@ -60,6 +60,6 @@ class WebMain():
def message(request: Request, message:AgentMessage, background_tasks: BackgroundTasks) -> AgentResponse:
return self.msg_process.new_message(message, background_tasks)
if __name__ == "ums.agent.main" and os.environ.get('SERVE', 'false') == 'true':
if __name__ == "ums.agent.main" and os.environ.get('SERVE', 'false').lower() == 'true':
main = WebMain()
app = main.app