update
This commit is contained in:
parent
f6faee1b9d
commit
38a9841725
@ -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)
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user