57 lines
2.6 KiB
Plaintext
57 lines
2.6 KiB
Plaintext
httpx.ReadTimeout: The read operation timed out
|
|
Traceback:
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 129, in exec_func_with_error_handling
|
|
result = func()
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 689, in code_to_exec
|
|
exec(code, module.__dict__) # noqa: S102
|
|
~~~~^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/home/codex/RAGGER/app.py", line 71, in <module>
|
|
result = rag.query(prompt)
|
|
File "/home/codex/RAGGER/core.py", line 67, in query
|
|
answer = ollama.generate(
|
|
prompt=prompt,
|
|
system=system or SYSTEM_PROMPT
|
|
)
|
|
File "/home/codex/RAGGER/ollama_client.py", line 45, in generate
|
|
response = self.client.post(
|
|
self._url("/api/generate"),
|
|
...<4 lines>...
|
|
}
|
|
)
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 1144, in post
|
|
return self.request(
|
|
~~~~~~~~~~~~^
|
|
"POST",
|
|
^^^^^^^
|
|
...<11 lines>...
|
|
extensions=extensions,
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 825, in request
|
|
return self.send(request, auth=auth, follow_redirects=follow_redirects)
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 914, in send
|
|
response = self._send_handling_auth(
|
|
request,
|
|
...<2 lines>...
|
|
history=[],
|
|
)
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 942, in _send_handling_auth
|
|
response = self._send_handling_redirects(
|
|
request,
|
|
follow_redirects=follow_redirects,
|
|
history=history,
|
|
)
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
|
|
response = self._send_single_request(request)
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_client.py", line 1014, in _send_single_request
|
|
response = transport.handle_request(request)
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_transports/default.py", line 249, in handle_request
|
|
with map_httpcore_exceptions():
|
|
~~~~~~~~~~~~~~~~~~~~~~~^^
|
|
File "/usr/lib/python3.13/contextlib.py", line 162, in __exit__
|
|
self.gen.throw(value)
|
|
~~~~~~~~~~~~~~^^^^^^^
|
|
File "/home/codex/RAGGER/venv/lib/python3.13/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
|
|
raise mapped_exc(message) from exc |