update
This commit is contained in:
parent
f6faee1b9d
commit
38a9841725
@ -53,7 +53,6 @@ class ChatRequest(BaseModel):
|
|||||||
conversation_id: Optional[str] = None
|
conversation_id: Optional[str] = None
|
||||||
|
|
||||||
class StopStreamingRequest(BaseModel):
|
class StopStreamingRequest(BaseModel):
|
||||||
user: str
|
|
||||||
task_id: str
|
task_id: str
|
||||||
|
|
||||||
@router.post("/stop_streaming")
|
@router.post("/stop_streaming")
|
||||||
@ -67,7 +66,7 @@ async def stop_streaming(request: StopStreamingRequest,
|
|||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
}
|
}
|
||||||
payload = {
|
payload = {
|
||||||
"user": request.user
|
"user": current_user["mail"]
|
||||||
}
|
}
|
||||||
response = requests.post(url, headers=headers, json=payload)
|
response = requests.post(url, headers=headers, json=payload)
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ services:
|
|||||||
cryptoai-api:
|
cryptoai-api:
|
||||||
build: .
|
build: .
|
||||||
container_name: cryptoai-api
|
container_name: cryptoai-api
|
||||||
image: cryptoai-api:0.1.35
|
image: cryptoai-api:0.1.36
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user