This commit is contained in:
aaron 2025-06-02 09:48:40 +08:00
parent f6faee1b9d
commit 38a9841725
2 changed files with 2 additions and 3 deletions

View File

@ -53,7 +53,6 @@ class ChatRequest(BaseModel):
conversation_id: Optional[str] = None
class StopStreamingRequest(BaseModel):
user: str
task_id: str
@router.post("/stop_streaming")
@ -67,7 +66,7 @@ async def stop_streaming(request: StopStreamingRequest,
'Content-Type': 'application/json'
}
payload = {
"user": request.user
"user": current_user["mail"]
}
response = requests.post(url, headers=headers, json=payload)

View File

@ -29,7 +29,7 @@ services:
cryptoai-api:
build: .
container_name: cryptoai-api
image: cryptoai-api:0.1.35
image: cryptoai-api:0.1.36
restart: always
ports:
- "8000:8000"