Conversation
Contributor
Author
|
Superseded by the Stainless-generated release PR #182, which includes this SDK update. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
uv run --with ruff ruff checkon changed source and test filesNote
Medium Risk
Breaking change for callers that assumed
fetchreturnedNone; behavior now depends on live deferred retrieval semantics and browser billing/concurrency documented in updated types.Overview
Deferred search content fetch is now a typed API in the Python SDK: sync/async
client.search.contents.fetchreturnskernel.types.search.Response(withcontents,search_id,usage,warnings) instead ofNone, and drops the old placeholder docs andAccept: */*/NoneTyperesponse handling.A new
search.Responsemodel describes per-resultContententries (result_id,url, status, text, errors, etc.). Related OpenAPI-driven doc updates align inline and deferred content options (source,max_age_hours, browser/temporary-browser behavior) acrosscontent_fetch_params,search_create_params,result, andusage.Tests and
api.mdnow expectResponsefromfetch(including raw/streaming parse paths).Reviewed by Cursor Bugbot for commit 5cf4120. Configure here.