fix: enhance logging in token introspection and validation for better debugging
This commit is contained in:
@@ -119,4 +119,5 @@ async def auth_callback(payload: AuthCallbackRequest):
|
||||
|
||||
@app.post("/chat", response_class=StreamingResponse)
|
||||
async def chat(request: ChatRequest, token=Depends(validate_token)):
|
||||
logger.debug("Chat request authenticated: %s", token.dict())
|
||||
return StreamingResponse(event_stream(request), media_type="text/event-stream")
|
||||
|
||||
Reference in New Issue
Block a user