Skip to content

docs: document read timeout behavior - #804

Open
cloudgpuapp wants to merge 1 commit into
ollama:mainfrom
cloudgpuapp:docs/read-timeout-803
Open

cloudgpuapp wants to merge 1 commit into
ollama:mainfrom
cloudgpuapp:docs/read-timeout-803

Conversation

@cloudgpuapp

Copy link
Copy Markdown

Summary

  • Document the read timeout exposed by Client and AsyncClient.
  • Explain where to catch httpx.ReadTimeout when consuming a stream.

This documents the current client behavior reported in #803 and leaves the exception contract unchanged.

Validation

Verified with Python 3.13 and HTTPX 0.28.1 using a mock transport that asserts the timeout configuration and raises a read timeout. The exception propagated through sync and async calls, both with and without streaming. No Ollama server or model was required. This documentation patch was prepared with AI assistance.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T20:26:21.937441Z 82c559c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant