Originally created by @rebelliouswhiz on GitHub (Apr 11, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.3
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have listed steps to reproduce the bug in detail.
Expected Behavior
Web search output correctly.
Actual Behavior
400: This model's maximum context length is 65536 tokens. However, you requested 105945 tokens (105945 in the messages, 0 in the completion). Please reduce the length of the messages or completion.
Steps to Reproduce
Set up Google PSE.
Prompt "Who is Steve Jobs"
Model is irrelevant. Exceed anyways.
Logs & Screenshots
Log too large, sending partial log here. Should be easy to reproduce.
2025-04-11 03:05:01.123 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['a3b2431c-c182-4d35-8153-8caf4d41b83b', 'e7989d93-d7c9-42f7-8d28-0c92797785a2', '8b61dad3-222e-4a70-927f-2cfa7f0cc864', '8e68a328-8220-419e-a24b-9685ca03600b', '9a0d5a9d-c9f1-4871-8cb3-8bd35f2f4a8d', 'bffc936f-577c-49ca-84f6-e61a36104743', 'c1ad1642-3ef6-4120-a8e2-e935da424489', '61a0c91e-5e9f-4d16-bed7-21daedb3dc52', '20899bcd-7e84-414f-8154-15395a9885a9', '79caeb1c-6ab7-479e-956b-15043e69420b', 'bf3725dc-7e89-4fcf-87e1-3c06db25fe00', '2435108f-62e0-4313-9a95-b27d6548fb81', '55532a35-c806-4b84-8d98-b7fae3aaf4e9', 'aff65533-0760-4da5-9311-979f2229d626', '39908ab1-bd99-49ce-92f0-521b433ae8c6', '55b0dbff-1706-4125-9811-4bc0e4a885ff', '548b31ba-d593-49fa-879c-8e0e424a19ae', '78eeb27e-0f27-424a-97c9-3c8a2ef4789f', 'd534cf1c-a8de-477f-9ab0-6272147980af', '9c1c76ac-5c37-41cd-8bfa-4382d8d73d7c', 'a15d4285-b1dc-408e-870d-a152854b1b86', 'b87835ca-8853-4367-a0a5-8718f92d4c88', '3a5b14eb-bf54-440a-af79-4ae18918e817', '8e0ad4e5-9033-4f15-913d-2e0991167d64', '5b100af3-63bb-48da-96f9-33b4286ce9a5', 'eb54e3c1-3b2a-4b4c-b441-587b78e322af', '39fe0b32-19bd-497c-81d4-cf3747fd547e', '62b2316b-8e1a-4e40-9559-8e3f8e35b226', '40879a27-2822-4d5f-b035-593ebfc8822c', 'cfa56c2b-3e32-46be-8169-af9e68b07a59', 'eeb3e7c9-4fa2-4af3-bf9a-4049dc072c28', '61ab8e98-1ca9-4d4b-9164-6f4529cf1189', '8e331e9a-58ba-433b-9ab0-8e5a13f34dc1', '4e05515d-0e00-40ce-98dc-f5089ba3937d', 'a851da44-5184-45d9-ab11-0a63de5bfeb3', '154efc79-3dbb-4708-ad33-a59981981a62', '55eb0e3b-b474-40da-a99a-479f6db61bc3', '939411dd-6251-4829-8483-ab6b955b7a23', 'c65a8daf-4e9f-4884-a549-0652231c5c18', '473c2c65-9710-4c5a-be15-2c44c485445b', '1391c8d1-8892-449c-abf5-0b879298974c', '2db22407-fa81-4ade-87b3-3f1afa4b52d8', 'cd55c2c3-9b7e-4f05-b3ce-37f2608b0d51', '26a7d235-88e3-464a-8b83-11598cefaebb', 'bd15dab8-96d4-426b-a2a0-84404543c242', '1f269f85-e2c7-46eb-8e36-0d40c7a43d14', '78fd8258-5b4d-41de-9bd7-b37cf9a5fae5', '849a6c22-59c9-4c62-b678-7f93c01b9c34', 'fde06fcb-2fb2-40c2-9644-941ec50fe724', 'a2129713-6626-42ba-8f08-6bbfe823feb1']] [[{'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 3102, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 144392, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 131302, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 44038, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 135648, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 112856, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 103591, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 56543, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 117474, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 20402, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 80490, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 68707, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 50299, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 38172, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 62534, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 8547, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 32277, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 90553, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 86116, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 14475, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 126617, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 26360, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 99161, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 122202, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 108231, 'title': 'Steve Jobs - Wikipedia'}]] - {}
2025-04-11 03:05:01.774 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['9a0d5a9d-c9f1-4871-8cb3-8bd35f2f4a8d', 'a3b2431c-c182-4d35-8153-8caf4d41b83b', '8e68a328-8220-419e-a24b-9685ca03600b', '39fe0b32-19bd-497c-81d4-cf3747fd547e', '9c1c76ac-5c37-41cd-8bfa-4382d8d73d7c', 'bffc936f-577c-49ca-84f6-e61a36104743', 'eb54e3c1-3b2a-4b4c-b441-587b78e322af', 'e7989d93-d7c9-42f7-8d28-0c92797785a2', '1391c8d1-8892-449c-abf5-0b879298974c', '61a0c91e-5e9f-4d16-bed7-21daedb3dc52', 'c1ad1642-3ef6-4120-a8e2-e935da424489', '78eeb27e-0f27-424a-97c9-3c8a2ef4789f', 'aff65533-0760-4da5-9311-979f2229d626', '1f269f85-e2c7-46eb-8e36-0d40c7a43d14', 'd534cf1c-a8de-477f-9ab0-6272147980af', '8b61dad3-222e-4a70-927f-2cfa7f0cc864', '55b0dbff-1706-4125-9811-4bc0e4a885ff', '55532a35-c806-4b84-8d98-b7fae3aaf4e9', '2db22407-fa81-4ade-87b3-3f1afa4b52d8', '79caeb1c-6ab7-479e-956b-15043e69420b', 'bf3725dc-7e89-4fcf-87e1-3c06db25fe00', '8e331e9a-58ba-433b-9ab0-8e5a13f34dc1', '39908ab1-bd99-49ce-92f0-521b433ae8c6', 'a15d4285-b1dc-408e-870d-a152854b1b86', '548b31ba-d593-49fa-879c-8e0e424a19ae', '55eb0e3b-b474-40da-a99a-479f6db61bc3', '61ab8e98-1ca9-4d4b-9164-6f4529cf1189', 'b87835ca-8853-4367-a0a5-8718f92d4c88', '20899bcd-7e84-414f-8154-15395a9885a9', '2435108f-62e0-4313-9a95-b27d6548fb81', '40879a27-2822-4d5f-b035-593ebfc8822c', '5b100af3-63bb-48da-96f9-33b4286ce9a5', '939411dd-6251-4829-8483-ab6b955b7a23', '473c2c65-9710-4c5a-be15-2c44c485445b', 'cfa56c2b-3e32-46be-8169-af9e68b07a59', 'c65a8daf-4e9f-4884-a549-0652231c5c18', 'cd55c2c3-9b7e-4f05-b3ce-37f2608b0d51', '154efc79-3dbb-4708-ad33-a59981981a62', 'eeb3e7c9-4fa2-4af3-bf9a-4049dc072c28', '849a6c22-59c9-4c62-b678-7f93c01b9c34', '3a5b14eb-bf54-440a-af79-4ae18918e817', '8e0ad4e5-9033-4f15-913d-2e0991167d64', '4e05515d-0e00-40ce-98dc-f5089ba3937d', 'd730242c-6c64-4738-b3e8-432f331e5e9c', '26a7d235-88e3-464a-8b83-11598cefaebb', 'a851da44-5184-45d9-ab11-0a63de5bfeb3', '62b2316b-8e1a-4e40-9559-8e3f8e35b226', '2cd83c94-afb2-4f60-aa28-f33b57319d11', 'fde06fcb-2fb2-40c2-9644-941ec50fe724', '78fd8258-5b4d-41de-9bd7-b37cf9a5fae5']] [[{'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 3102, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 131302, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 62534, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 68707, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 44038, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 38172, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 80490, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 103591, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 122202, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 144392, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 117474, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 112856, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 32277, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 56543, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 20402, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 135648, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 50299, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 126617, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 14475, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 26360, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 86116, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 90553, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 94768, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 99161, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 8547, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}]] - {}
2025-04-11 03:05:02.306 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:02.311 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'be538c10-f6f4-484e-9602-456d4f33cae4', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:03.140 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:03.144 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', 'be538c10-f6f4-484e-9602-456d4f33cae4', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:03.994 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:03.998 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'be538c10-f6f4-484e-9602-456d4f33cae4', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:04.584 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:04.589 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['85e56fb1-b788-4669-8ead-1d52fe82994f', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '44553379-054d-4998-898c-fe3cecf72ab2']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:05.438 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:05.442 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['85e56fb1-b788-4669-8ead-1d52fe82994f', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '44553379-054d-4998-898c-fe3cecf72ab2']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:06.166 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:06.170 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['44553379-054d-4998-898c-fe3cecf72ab2', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '85e56fb1-b788-4669-8ead-1d52fe82994f']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:06.189 | INFO | open_webui.routers.openai:get_all_models:389 - get_all_models() - {}
2025-04-11 03:05:07.152 | ERROR | open_webui.routers.openai:generate_chat_completion:749 - 400, message='Bad Request', url='https://api.deepseek.com/v1/chat/completions' - {}
Traceback (most recent call last):
File "/usr/local/bin/uvicorn", line 10, in <module>
sys.exit(main())
│ │ └ <Command main>
│ └ <built-in function exit>
└ <module 'sys' (built-in)>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <function BaseCommand.main at 0x7f1335385da0>
└ <Command main>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
│ │ └ <click.core.Context object at 0x7f133604c4d0>
│ └ <function Command.invoke at 0x7f1335386980>
└ <Command main>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
│ │ │ │ │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
│ │ │ │ └ <click.core.Context object at 0x7f133604c4d0>
│ │ │ └ <function main at 0x7f1334f654e0>
│ │ └ <Command main>
│ └ <function Context.invoke at 0x7f1335385300>
└ <click.core.Context object at 0x7f133604c4d0>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
│ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
└ ()
File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 412, in main
run(
└ <function run at 0x7f133538fe20>
File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 579, in run
server.run()
│ └ <function Server.run at 0x7f13351f1260>
└ <uvicorn.server.Server object at 0x7f1335391bd0>
File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 66, in run
return asyncio.run(self.serve(sockets=sockets))
│ │ │ │ └ None
│ │ │ └ <function Server.serve at 0x7f13351f1300>
│ │ └ <uvicorn.server.Server object at 0x7f1335391bd0>
│ └ <function run at 0x7f13356fcb80>
└ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'>
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
│ │ └ <coroutine object Server.serve at 0x7f133511e6b0>
│ └ <function Runner.run at 0x7f133556c720>
└ <asyncio.runners.Runner object at 0x7f13355d29d0>
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:70> wai...
│ │ └ <cyfunction Loop.run_until_complete at 0x7f1334fa5220>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7f13355d29d0>
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
│ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f12c75e9120>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f12c7779650>
└ <open_webui.main.RedirectMiddleware object at 0x7f12c7640410>
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
│ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f12c75e9120>
│ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ │ │ └ <starlette.requests.Request object at 0x7f12bcbfc710>
│ │ └ <fastapi.routing.APIRouter object at 0x7f1301d07710>
│ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f12c7779650>
└ <function wrap_app_handling_exceptions at 0x7f13325af2e0>
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
└ <fastapi.routing.APIRouter object at 0x7f1301d07710>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7f1301d07710>>
└ <fastapi.routing.APIRouter object at 0x7f1301d07710>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
await route.handle(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <function Route.handle at 0x7f13324389a0>
└ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <function request_response.<locals>.app at 0x7f12c7708180>
└ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
│ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ │ └ <starlette.requests.Request object at 0x7f12bcbfe410>
│ └ <function request_response.<locals>.app.<locals>.app at 0x7f12c75e8400>
└ <function wrap_app_handling_exceptions at 0x7f13325af2e0>
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e9a80>
│ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
└ <function request_response.<locals>.app.<locals>.app at 0x7f12c75e8400>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
│ └ <starlette.requests.Request object at 0x7f12bcbfe410>
└ <function get_request_handler.<locals>.app at 0x7f12c77080e0>
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
raw_response = await run_endpoint_function(
└ <function run_endpoint_function at 0x7f133243a7a0>
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
return await dependant.call(**values)
│ │ └ {'user': UserModel(id='f935433d-9fa3-4648-8248-ccfbdf623929', name='Jiayuan Yu', email='rebelliouswhiz@outlook.com', role='ad...
│ └ <function chat_completion at 0x7f12c7657100>
└ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
File "/app/backend/open_webui/main.py", line 1125, in chat_completion
response = await chat_completion_handler(request, form_data, user)
│ │ │ └ UserModel(id='f935433d-9fa3-4648-8248-ccfbdf623929', name='Jiayuan Yu', email='rebelliouswhiz@outlook.com', role='admin', pro...
│ │ └ {'stream': True, 'model': 'deepseek-chat', 'messages': [{'role': 'system', 'content': '### Task:\nRespond to the user query u...
│ └ <starlette.requests.Request object at 0x7f12bcbfe410>
└ <function generate_chat_completion at 0x7f1308f06ac0>
File "/app/backend/open_webui/utils/chat.py", line 275, in generate_chat_completion
return await generate_openai_chat_completion(
└ <function generate_chat_completion at 0x7f1308ebd260>
> File "/app/backend/open_webui/routers/openai.py", line 746, in generate_chat_completion
r.raise_for_status()
│ └ <function ClientResponse.raise_for_status at 0x7f1332eba660>
└ <ClientResponse(https://api.deepseek.com/v1/chat/completions) [400 Bad Request]>
<CIMultiDictProxy('Date': 'Fri, 11 Apr 2025 ...
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
└ <class 'aiohttp.client_exceptions.ClientResponseError'>
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.deepseek.com/v1/chat/completions'
Additional Information
Maybe we can limit the token number sent to the model? Or maybe limit the search result token.
Originally created by @rebelliouswhiz on GitHub (Apr 11, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
v0.6.3
### Ollama Version (if applicable)
_No response_
### Operating System
Debian 12
### Browser (if applicable)
_No response_
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have listed steps to reproduce the bug in detail.
### Expected Behavior
Web search output correctly.
### Actual Behavior
400: This model's maximum context length is 65536 tokens. However, you requested 105945 tokens (105945 in the messages, 0 in the completion). Please reduce the length of the messages or completion.
<img width="675" alt="Image" src="https://github.com/user-attachments/assets/048a5ea6-85c0-4841-b0bf-31fce2cc44b3" />
### Steps to Reproduce
Set up Google PSE.
Prompt "Who is Steve Jobs"
Model is irrelevant. Exceed anyways.
### Logs & Screenshots
Log too large, sending partial log here. Should be easy to reproduce.
```
2025-04-11 03:05:01.123 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['a3b2431c-c182-4d35-8153-8caf4d41b83b', 'e7989d93-d7c9-42f7-8d28-0c92797785a2', '8b61dad3-222e-4a70-927f-2cfa7f0cc864', '8e68a328-8220-419e-a24b-9685ca03600b', '9a0d5a9d-c9f1-4871-8cb3-8bd35f2f4a8d', 'bffc936f-577c-49ca-84f6-e61a36104743', 'c1ad1642-3ef6-4120-a8e2-e935da424489', '61a0c91e-5e9f-4d16-bed7-21daedb3dc52', '20899bcd-7e84-414f-8154-15395a9885a9', '79caeb1c-6ab7-479e-956b-15043e69420b', 'bf3725dc-7e89-4fcf-87e1-3c06db25fe00', '2435108f-62e0-4313-9a95-b27d6548fb81', '55532a35-c806-4b84-8d98-b7fae3aaf4e9', 'aff65533-0760-4da5-9311-979f2229d626', '39908ab1-bd99-49ce-92f0-521b433ae8c6', '55b0dbff-1706-4125-9811-4bc0e4a885ff', '548b31ba-d593-49fa-879c-8e0e424a19ae', '78eeb27e-0f27-424a-97c9-3c8a2ef4789f', 'd534cf1c-a8de-477f-9ab0-6272147980af', '9c1c76ac-5c37-41cd-8bfa-4382d8d73d7c', 'a15d4285-b1dc-408e-870d-a152854b1b86', 'b87835ca-8853-4367-a0a5-8718f92d4c88', '3a5b14eb-bf54-440a-af79-4ae18918e817', '8e0ad4e5-9033-4f15-913d-2e0991167d64', '5b100af3-63bb-48da-96f9-33b4286ce9a5', 'eb54e3c1-3b2a-4b4c-b441-587b78e322af', '39fe0b32-19bd-497c-81d4-cf3747fd547e', '62b2316b-8e1a-4e40-9559-8e3f8e35b226', '40879a27-2822-4d5f-b035-593ebfc8822c', 'cfa56c2b-3e32-46be-8169-af9e68b07a59', 'eeb3e7c9-4fa2-4af3-bf9a-4049dc072c28', '61ab8e98-1ca9-4d4b-9164-6f4529cf1189', '8e331e9a-58ba-433b-9ab0-8e5a13f34dc1', '4e05515d-0e00-40ce-98dc-f5089ba3937d', 'a851da44-5184-45d9-ab11-0a63de5bfeb3', '154efc79-3dbb-4708-ad33-a59981981a62', '55eb0e3b-b474-40da-a99a-479f6db61bc3', '939411dd-6251-4829-8483-ab6b955b7a23', 'c65a8daf-4e9f-4884-a549-0652231c5c18', '473c2c65-9710-4c5a-be15-2c44c485445b', '1391c8d1-8892-449c-abf5-0b879298974c', '2db22407-fa81-4ade-87b3-3f1afa4b52d8', 'cd55c2c3-9b7e-4f05-b3ce-37f2608b0d51', '26a7d235-88e3-464a-8b83-11598cefaebb', 'bd15dab8-96d4-426b-a2a0-84404543c242', '1f269f85-e2c7-46eb-8e36-0d40c7a43d14', '78fd8258-5b4d-41de-9bd7-b37cf9a5fae5', '849a6c22-59c9-4c62-b678-7f93c01b9c34', 'fde06fcb-2fb2-40c2-9644-941ec50fe724', 'a2129713-6626-42ba-8f08-6bbfe823feb1']] [[{'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 3102, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 144392, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 131302, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 44038, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 135648, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 112856, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 103591, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 56543, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 117474, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 20402, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 80490, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 68707, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 50299, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 38172, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 62534, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 8547, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 32277, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 90553, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 86116, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 14475, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 126617, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 26360, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 99161, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 122202, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 108231, 'title': 'Steve Jobs - Wikipedia'}]] - {}
2025-04-11 03:05:01.774 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['9a0d5a9d-c9f1-4871-8cb3-8bd35f2f4a8d', 'a3b2431c-c182-4d35-8153-8caf4d41b83b', '8e68a328-8220-419e-a24b-9685ca03600b', '39fe0b32-19bd-497c-81d4-cf3747fd547e', '9c1c76ac-5c37-41cd-8bfa-4382d8d73d7c', 'bffc936f-577c-49ca-84f6-e61a36104743', 'eb54e3c1-3b2a-4b4c-b441-587b78e322af', 'e7989d93-d7c9-42f7-8d28-0c92797785a2', '1391c8d1-8892-449c-abf5-0b879298974c', '61a0c91e-5e9f-4d16-bed7-21daedb3dc52', 'c1ad1642-3ef6-4120-a8e2-e935da424489', '78eeb27e-0f27-424a-97c9-3c8a2ef4789f', 'aff65533-0760-4da5-9311-979f2229d626', '1f269f85-e2c7-46eb-8e36-0d40c7a43d14', 'd534cf1c-a8de-477f-9ab0-6272147980af', '8b61dad3-222e-4a70-927f-2cfa7f0cc864', '55b0dbff-1706-4125-9811-4bc0e4a885ff', '55532a35-c806-4b84-8d98-b7fae3aaf4e9', '2db22407-fa81-4ade-87b3-3f1afa4b52d8', '79caeb1c-6ab7-479e-956b-15043e69420b', 'bf3725dc-7e89-4fcf-87e1-3c06db25fe00', '8e331e9a-58ba-433b-9ab0-8e5a13f34dc1', '39908ab1-bd99-49ce-92f0-521b433ae8c6', 'a15d4285-b1dc-408e-870d-a152854b1b86', '548b31ba-d593-49fa-879c-8e0e424a19ae', '55eb0e3b-b474-40da-a99a-479f6db61bc3', '61ab8e98-1ca9-4d4b-9164-6f4529cf1189', 'b87835ca-8853-4367-a0a5-8718f92d4c88', '20899bcd-7e84-414f-8154-15395a9885a9', '2435108f-62e0-4313-9a95-b27d6548fb81', '40879a27-2822-4d5f-b035-593ebfc8822c', '5b100af3-63bb-48da-96f9-33b4286ce9a5', '939411dd-6251-4829-8483-ab6b955b7a23', '473c2c65-9710-4c5a-be15-2c44c485445b', 'cfa56c2b-3e32-46be-8169-af9e68b07a59', 'c65a8daf-4e9f-4884-a549-0652231c5c18', 'cd55c2c3-9b7e-4f05-b3ce-37f2608b0d51', '154efc79-3dbb-4708-ad33-a59981981a62', 'eeb3e7c9-4fa2-4af3-bf9a-4049dc072c28', '849a6c22-59c9-4c62-b678-7f93c01b9c34', '3a5b14eb-bf54-440a-af79-4ae18918e817', '8e0ad4e5-9033-4f15-913d-2e0991167d64', '4e05515d-0e00-40ce-98dc-f5089ba3937d', 'd730242c-6c64-4738-b3e8-432f331e5e9c', '26a7d235-88e3-464a-8b83-11598cefaebb', 'a851da44-5184-45d9-ab11-0a63de5bfeb3', '62b2316b-8e1a-4e40-9559-8e3f8e35b226', '2cd83c94-afb2-4f60-aa28-f33b57319d11', 'fde06fcb-2fb2-40c2-9644-941ec50fe724', '78fd8258-5b4d-41de-9bd7-b37cf9a5fae5']] [[{'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 3102, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 131302, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 62534, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 68707, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 44038, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 38172, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 80490, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 103591, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 122202, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 144392, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 117474, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 112856, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 32277, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 56543, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 20402, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 135648, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 50299, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 126617, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 14475, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 26360, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 86116, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 90553, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 94768, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 99161, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': 8547, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}, {'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://en.wikipedia.org/wiki/Steve_Jobs', 'start_index': -1, 'title': 'Steve Jobs - Wikipedia'}]] - {}
2025-04-11 03:05:02.306 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:02.311 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'be538c10-f6f4-484e-9602-456d4f33cae4', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:03.140 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:03.144 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', 'be538c10-f6f4-484e-9602-456d4f33cae4', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:03.994 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 6, updating n_results = 6 - {}
2025-04-11 03:05:03.998 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['bad6fe8c-0254-4e31-b197-51de198945bd', '17e0eb57-b980-49c7-b311-3db2016fd84c', 'be538c10-f6f4-484e-9602-456d4f33cae4', 'd8b0c0ed-a547-4f8d-9440-9fe6b73e552e', 'eedc7403-8a97-4799-8ff9-97a75aa9c383', '0796ec1e-c07c-42c0-ba8f-4f7178a50789']] [[{'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 6073, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 12226, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': 0, 'title': 'Steve Jobs and the Apple Story'}, {'description': 'Discover the lessons you can learn from Steve Jobs, with a brief history of Apple.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.investopedia.com/articles/fundamental-analysis/12/steve-jobs-apple-story.asp', 'start_index': -1, 'title': 'Steve Jobs and the Apple Story'}]] - {}
2025-04-11 03:05:04.584 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:04.589 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['85e56fb1-b788-4669-8ead-1d52fe82994f', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '44553379-054d-4998-898c-fe3cecf72ab2']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:05.438 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:05.442 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['85e56fb1-b788-4669-8ead-1d52fe82994f', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '44553379-054d-4998-898c-fe3cecf72ab2']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:06.166 | WARNING | chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Number of requested results 50 is greater than number of elements in index 3, updating n_results = 3 - {}
2025-04-11 03:05:06.170 | INFO | open_webui.retrieval.utils:query_doc:87 - query_doc:result [['44553379-054d-4998-898c-fe3cecf72ab2', '1405c6f0-bf1c-4f34-92f0-4e3b7db820a0', '85e56fb1-b788-4669-8ead-1d52fe82994f']] [[{'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 6097, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': -1, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}, {'description': 'Steve Jobs (1955–2011) was the cofounder of Apple Computer, Inc. (now\xa0Apple Inc.) and a charismatic pioneer of the\xa0personal computer\xa0era.', 'embedding_config': '{"engine": "openai", "model": "text-embedding-3-large"}', 'language': 'en', 'source': 'https://www.britannica.com/money/Steve-Jobs', 'start_index': 0, 'title': 'Steve Jobs | Biography, Education, Apple, & Facts | Britannica Money'}]] - {}
2025-04-11 03:05:06.189 | INFO | open_webui.routers.openai:get_all_models:389 - get_all_models() - {}
2025-04-11 03:05:07.152 | ERROR | open_webui.routers.openai:generate_chat_completion:749 - 400, message='Bad Request', url='https://api.deepseek.com/v1/chat/completions' - {}
Traceback (most recent call last):
File "/usr/local/bin/uvicorn", line 10, in <module>
sys.exit(main())
│ │ └ <Command main>
│ └ <built-in function exit>
└ <module 'sys' (built-in)>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <function BaseCommand.main at 0x7f1335385da0>
└ <Command main>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
│ │ └ <click.core.Context object at 0x7f133604c4d0>
│ └ <function Command.invoke at 0x7f1335386980>
└ <Command main>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
│ │ │ │ │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
│ │ │ │ └ <click.core.Context object at 0x7f133604c4d0>
│ │ │ └ <function main at 0x7f1334f654e0>
│ │ └ <Command main>
│ └ <function Context.invoke at 0x7f1335385300>
└ <click.core.Context object at 0x7f133604c4d0>
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
│ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
└ ()
File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 412, in main
run(
└ <function run at 0x7f133538fe20>
File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 579, in run
server.run()
│ └ <function Server.run at 0x7f13351f1260>
└ <uvicorn.server.Server object at 0x7f1335391bd0>
File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 66, in run
return asyncio.run(self.serve(sockets=sockets))
│ │ │ │ └ None
│ │ │ └ <function Server.serve at 0x7f13351f1300>
│ │ └ <uvicorn.server.Server object at 0x7f1335391bd0>
│ └ <function run at 0x7f13356fcb80>
└ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'>
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
│ │ └ <coroutine object Server.serve at 0x7f133511e6b0>
│ └ <function Runner.run at 0x7f133556c720>
└ <asyncio.runners.Runner object at 0x7f13355d29d0>
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:70> wai...
│ │ └ <cyfunction Loop.run_until_complete at 0x7f1334fa5220>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7f13355d29d0>
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
│ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f12c75e9120>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f12c7779650>
└ <open_webui.main.RedirectMiddleware object at 0x7f12c7640410>
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
│ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f12c75e9120>
│ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ │ │ └ <starlette.requests.Request object at 0x7f12bcbfc710>
│ │ └ <fastapi.routing.APIRouter object at 0x7f1301d07710>
│ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f12c7779650>
└ <function wrap_app_handling_exceptions at 0x7f13325af2e0>
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
└ <fastapi.routing.APIRouter object at 0x7f1301d07710>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7f1301d07710>>
└ <fastapi.routing.APIRouter object at 0x7f1301d07710>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
await route.handle(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <function Route.handle at 0x7f13324389a0>
└ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ └ <function request_response.<locals>.app at 0x7f12c7708180>
└ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
│ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e8c20>
│ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
│ │ └ <starlette.requests.Request object at 0x7f12bcbfe410>
│ └ <function request_response.<locals>.app.<locals>.app at 0x7f12c75e8400>
└ <function wrap_app_handling_exceptions at 0x7f13325af2e0>
File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f12c75e9a80>
│ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f12c75ebba0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('192.168.50.10', 8080),...
└ <function request_response.<locals>.app.<locals>.app at 0x7f12c75e8400>
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
│ └ <starlette.requests.Request object at 0x7f12bcbfe410>
└ <function get_request_handler.<locals>.app at 0x7f12c77080e0>
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
raw_response = await run_endpoint_function(
└ <function run_endpoint_function at 0x7f133243a7a0>
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
return await dependant.call(**values)
│ │ └ {'user': UserModel(id='f935433d-9fa3-4648-8248-ccfbdf623929', name='Jiayuan Yu', email='rebelliouswhiz@outlook.com', role='ad...
│ └ <function chat_completion at 0x7f12c7657100>
└ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
File "/app/backend/open_webui/main.py", line 1125, in chat_completion
response = await chat_completion_handler(request, form_data, user)
│ │ │ └ UserModel(id='f935433d-9fa3-4648-8248-ccfbdf623929', name='Jiayuan Yu', email='rebelliouswhiz@outlook.com', role='admin', pro...
│ │ └ {'stream': True, 'model': 'deepseek-chat', 'messages': [{'role': 'system', 'content': '### Task:\nRespond to the user query u...
│ └ <starlette.requests.Request object at 0x7f12bcbfe410>
└ <function generate_chat_completion at 0x7f1308f06ac0>
File "/app/backend/open_webui/utils/chat.py", line 275, in generate_chat_completion
return await generate_openai_chat_completion(
└ <function generate_chat_completion at 0x7f1308ebd260>
> File "/app/backend/open_webui/routers/openai.py", line 746, in generate_chat_completion
r.raise_for_status()
│ └ <function ClientResponse.raise_for_status at 0x7f1332eba660>
└ <ClientResponse(https://api.deepseek.com/v1/chat/completions) [400 Bad Request]>
<CIMultiDictProxy('Date': 'Fri, 11 Apr 2025 ...
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
└ <class 'aiohttp.client_exceptions.ClientResponseError'>
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.deepseek.com/v1/chat/completions'
```
### Additional Information
Maybe we can limit the token number sent to the model? Or maybe limit the search result token.
GiteaMirror
added the bug label 2025-11-11 16:03:35 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rebelliouswhiz on GitHub (Apr 11, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.3
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Web search output correctly.
Actual Behavior
400: This model's maximum context length is 65536 tokens. However, you requested 105945 tokens (105945 in the messages, 0 in the completion). Please reduce the length of the messages or completion.
Steps to Reproduce
Set up Google PSE.
Prompt "Who is Steve Jobs"
Model is irrelevant. Exceed anyways.
Logs & Screenshots
Log too large, sending partial log here. Should be easy to reproduce.
Additional Information
Maybe we can limit the token number sent to the model? Or maybe limit the search result token.