WIP: tunning

This commit is contained in:
2025-05-03 18:52:37 +01:00
parent fb578fbf40
commit 302dd7e965
4 changed files with 28 additions and 25 deletions

View File

@@ -10,11 +10,11 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
r = redis.Redis.from_url(os.environ.get("REDIS_URL", "redis://redis:6379"))
class MessagePayload(BaseModel):
roomId: str
userId: str
content: str
eventId: str
timestamp: int
roomId: str
userId: str
eventId: str
serverTimestamp: int
content: str
app = FastAPI()