add goodbye option
This commit is contained in:
parent
385d1386af
commit
9a0677e88d
3 changed files with 74 additions and 28 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from fastapi import FastAPI
|
||||
import uvicorn
|
||||
|
||||
class BaseAgent():
|
||||
|
||||
class BaseAgent:
|
||||
def __init__(self):
|
||||
self.app = FastAPI()
|
||||
|
||||
|
||||
def run(self, host="localhost", port=3000):
|
||||
uvicorn.run(self.app, host=host, port=port)
|
||||
uvicorn.run(self.app, host=host, port=port)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue