Skip to content

fix: validate research structured input before request#78

Merged
cjumel merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260602-python
Jun 3, 2026
Merged

fix: validate research structured input before request#78
cjumel merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260602-python

Conversation

@Shedna
Copy link
Copy Markdown
Contributor

@Shedna Shedna commented Jun 2, 2026

Description

  • add the missing client-side validation that requires structured_output_schema when calling research(..., output_type=structured)
  • keep sync and async research behavior aligned with the platform DTO contract and the existing search validation path
  • add unit tests for the sync and async research validation cases

Checklist

  • I have run make lint on my changes.
  • I have run make typecheck test on my changes.
  • I have updated README.md if my changes affected it.

Co-authored-by: william <william@linkup.so>
@cjumel cjumel self-requested a review June 3, 2026 10:00
@cjumel cjumel merged commit 65676c2 into main Jun 3, 2026
3 checks passed
@cjumel cjumel deleted the cursor/platform-sdk-sync-20260602-python branch June 3, 2026 10:01
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.

3 participants