Fix #1
All checks were successful
Build and push Docker image at git tag / build (push) Successful in 55s
All checks were successful
Build and push Docker image at git tag / build (push) Successful in 55s
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user