make thread_id a string

This commit is contained in:
2025-12-30 16:11:44 +08:00
parent 42a6f057e4
commit a8c2dd7723
4 changed files with 5 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ class DSApplicationCallRequest(BaseModel):
messages: List[DSMessage]
stream: bool = Field(default=True)
# Optional overrides for pipeline behavior
thread_id: Optional[int] = Field(default=3)
thread_id: Optional[str] = Field(default="3")
app = FastAPI(title="DashScope-Compatible Application API",