Sending HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions


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


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


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


Sending compressed multipart request with context: trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=ba10714f-bf8e-4774-88f6-28bc9581a191; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=b19cbe21-e402-43ef-b908-1cf88f1ab83a; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=b19cbe21-e402-43ef-b908-1cf88f1ab83a; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=a1727401-6316-45c5-833b-bd5125f4e0ec; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=cdf349f1-c935-4908-ad7d-6aecbaf56f6c; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=c6ea6bc0-78fd-49c3-9bad-2209f2f172a5; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=c6ea6bc0-78fd-49c3-9bad-2209f2f172a5; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=cdf349f1-c935-4908-ad7d-6aecbaf56f6c; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=bfcd492d-8efc-49ef-b637-6c7898f5d622; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=1c841658-ed04-4a30-b981-f0083a82e878


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'Tue, 29 Jul 2025 18:05:48 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=490'), (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', 'Tue, 29 Jul 2025 18:05:48 GMT'), ('server', 'scaffolding on HTTPServer2'), ('x-xss-protection', '0'), ('x-frame-options', 'SAMEORIGIN'), ('x-content-type-options', 'nosniff'), ('server-timing', 'gfet4t7; dur=490'), ('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']>


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


2025-07-29T18:05:48.992282Z [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=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=1c841658-ed04-4a30-b981-f0083a82e878; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=f849c626-6f1b-4de4-bf3f-0c0a28bc8836; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=f849c626-6f1b-4de4-bf3f-0c0a28bc8836; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=bfcd492d-8efc-49ef-b637-6c7898f5d622; trace=4cdc6660-1c4f-40b9-88c3-e5c8620b1064,id=4cdc6660-1c4f-40b9-88c3-e5c8620b1064


Resetting dropped connection: us.cloud.langfuse.com


Exception while exporting Span.


2025-07-29T18:18:48.824145Z [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-29T18:18:55.774202Z [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-29T18:20:51.129286Z [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-29T20:18:11.705229Z [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-29T20:28:20.183625Z [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-29T21:27:03.355623Z [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-29T21:27:20.876142Z [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-29T21:27:43.357899Z [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-29T21:28:13.707517Z [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-29T21:28:42.043873Z [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-29T21:28:46.379645Z [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-29T21:29:50.078513Z [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-29T21:53:54.890658Z [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-30T02:09:50.065416Z [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-30T02:19:56.834661Z [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-30T06:00:18.339625Z [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-30T06:04:40.731239Z [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-30T07:10:54.909882Z [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-30T07:10:55.043989Z [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-30T11:36:20.503715Z [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-30T11:36:45.796048Z [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-30T12:20:44.460124Z [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-30T12:30:53.624669Z [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-30T12:36:55.668496Z [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-30T12:36:59.610705Z [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-30T14:26:13.089789Z [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-30T14:26:18.248969Z [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-30T14:26:18.844666Z [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-30T14:26:53.688858Z [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-30T15:30:19.465831Z [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-30T15:30:19.493836Z [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-30T19:37:09.074332Z [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-30T19:47:36.793195Z [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-30T20:13:08.023900Z [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-30T20:23:16.710141Z [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-30T20:50:31.782697Z [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-30T21:25:01.875601Z [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-30T21:28:22.808797Z [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-30T21:38:30.152334Z [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-30T22:04:56.423574Z [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-30T22:15:25.932732Z [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-30T23:14:28.979596Z [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-30T23:15:12.941986Z [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-31T00:01:53.048538Z [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-31T00:01:55.152541Z [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-31T01:57:54.745952Z [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-31T01:58:16.724650Z [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-31T03:05:13.390470Z [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-31T04:14:05.075943Z [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-31T08:07:08.511605Z [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-31T09:06:35.526533Z [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-31T09:12:13.505843Z [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-31T09:12:14.039157Z [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-31T12:14:25.446352Z [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-31T12:14:32.029839Z [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-31T20:58:54.623447Z [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