fix: enhance logging in token introspection and validation for better debugging

This commit is contained in:
Mabe
2026-06-21 17:23:52 +02:00
parent 93f20e191c
commit c2f8c36bbb
3 changed files with 9 additions and 6 deletions
+1
View File
@@ -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")