Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… value. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…lected one. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fb32e1c19
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| async for event in provider.stream(**kwargs): | ||
| started = True | ||
| yield event |
There was a problem hiding this comment.
Close delegated streams when the wrapper is closed
When a selected-effort planning stream is cancelled or its consumer stops early, LLMClient._guarded_stream closes this wrapper, but the bare async for does not close the underlying provider async generator. Consequently, its HTTP response can remain open—and potentially continue consuming server resources—until async-generator finalization. Wrap both delegated streams in contextlib.aclosing, as the other provider delegation paths do.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t helpers Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
https://linear.app/mindsdb/issue/ENG-3419
What changed
reasoning_effortonTurnRequestV1sets the planning model's effort only; coding and history summarization keep their configured effort" "keeps the configured effortsettings.planning_reasoning_effortnext to the model assignment, so the client factory and its callers are unchanged from stagingreasoning_efforteach role's request carriedNotes for the reviewer
llmblock, so no other provider sees the value.Ships with
Checks
uv run pytest(full suite, at the wire test commit)uv run pytest tests/test_cloud_turn_session.py tests/test_cloud_turn_contract.py tests/test_cloud_turn_process.py tests/test_cloud_turn_usage_notes.py tests/test_client.py tests/test_bad_request_reaches_the_classifier.pyat the head🤖 Generated with Claude Code