feat(rout): add router

This commit is contained in:
11linear11
2026-08-31 03:57:50 -04:00
parent 8387804442
commit d89b8e500e
4 changed files with 31 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
from pydantic import BaseModel, Field
from typing import Optional
class ChatRequest(BaseModel):
query: str = Field(...,min_length=1,description="The query to be asked to the agent")
thread_id: Optional[str] = Field(None,description="The thread id to be used for the query")
class ChatResponse(BaseModel):
response: str
thread_id: str