receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Content-Type', b'text/event-stream'), (b'Vary', b'Origin'), (b'Vary', b'X-Origin'), (b'Vary', b'Referer'), (b'Content-Encoding', b'gzip'), (b'Date', b'Mon, 28 Jul 2025 11:09:13 GMT'), (b'Server', b'scaffolding on HTTPServer2'), (b'X-XSS-Protection', b'0'), (b'X-Frame-Options', b'SAMEORIGIN'), (b'X-Content-Type-Options', b'nosniff'), (b'Server-Timing', b'gfet4t7; dur=1279'), (b'Alt-Svc', b'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'), (b'Transfer-Encoding', b'chunked')])


HTTP Response: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "200 OK" Headers([('content-type', 'text/event-stream'), ('vary', 'Origin'), ('vary', 'X-Origin'), ('vary', 'Referer'), ('content-encoding', 'gzip'), ('date', 'Mon, 28 Jul 2025 11:09:13 GMT'), ('server', 'scaffolding on HTTPServer2'), ('x-xss-protection', '0'), ('x-frame-options', 'SAMEORIGIN'), ('x-content-type-options', 'nosniff'), ('server-timing', 'gfet4t7; dur=1279'), ('alt-svc', 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'), ('transfer-encoding', 'chunked')])


request_id: None


receive_response_body.started request=<Request [b'POST']>


2025-07-28T11:09:13.733340Z [info     ] llm_response_generated         [app.core.logging] environment=development filename=graph.py func_name=_chat lineno=156 llm_calls_num=1 model=gemini-2.5-flash-lite-preview-06-17 module=graph pathname=/home/mimvav/public_html/api.mimvav.ir/app/core/langgraph/graph.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


Sending compressed multipart request with context: trace=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd,id=06ce9e88-c1b9-466b-bc2d-27eebc81fd76; trace=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd,id=82c833a0-cca8-4692-be1c-0875ef0c75b5; trace=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd,id=82c833a0-cca8-4692-be1c-0875ef0c75b5; trace=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd,id=9f791dea-8b15-4a79-b086-51d0fa51b511; trace=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd,id=dcdd68b6-484d-4db8-bc1a-4efd59eda9bd


https://api.smith.langchain.com:443 "POST /runs/multipart HTTP/1.1" 202 34


https://us.cloud.langfuse.com:443 "POST /api/public/otel/v1/traces HTTP/1.1" 200 None


2025-07-28T11:10:48.157733Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:11:44.817231Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:19:44.328499Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:46:44.298760Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:46:48.398968Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:46:48.408987Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T11:47:00.569278Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:06:54.941398Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:07:30.324163Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:50.841412Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:50.841868Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:50.842112Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:52.700861Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:53.330450Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:17:53.942233Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:18:44.937733Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:18:44.938262Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:18:44.938493Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:18:47.873272Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:20:33.625766Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:20:36.678752Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:07.695652Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:08.034472Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:22.297674Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:22.298249Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:22.298495Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:24.309844Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:24.664909Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:22:25.780392Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:18.358602Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:18.359155Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:18.359380Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:21.827724Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:24.900300Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:23:30.489948Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:18.769405Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:18.769881Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:18.770126Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:20.334905Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:20.775073Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:26:22.685402Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:28:03.790175Z [info     ] root_endpoint_called           [app.core.logging] environment=development filename=main.py func_name=root lineno=141 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py


2025-07-28T12:53:21.904314Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:54:00.223831Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:54:02.070217Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:54:09.565828Z [info     ] token_verified                 [app.core.logging] environment=development filename=auth.py func_name=verify_token lineno=80 module=auth pathname=/home/mimvav/public_html/api.mimvav.ir/app/utils/auth.py thread_id=e57a08f3-d037-4f35-861f-c7148c9e74f0


2025-07-28T12:54:12.031969Z [info     ] WebSocket disconnected         [app.core.logging] environment=development filename=main.py func_name=chat_websocket lineno=244 module=main pathname=/home/mimvav/public_html/api.mimvav.ir/app/main.py session_id=e57a08f3-d037-4f35-861f-c7148c9e74f0