Skip to content

fix: allow structured output schema to be a dict#71

Merged
cjumel merged 2 commits into
mainfrom
cursor/platform-sdk-sync-fast-depth-20260521
May 21, 2026
Merged

fix: allow structured output schema to be a dict#71
cjumel merged 2 commits into
mainfrom
cursor/platform-sdk-sync-fast-depth-20260521

Conversation

@Shedna
Copy link
Copy Markdown
Contributor

@Shedna Shedna commented May 21, 2026

Description

The public Python client signatures and docs for search / async_search and research / async_research only advertised structured_output_schema as BaseModel | str, while the Linkup platform accepts structured schemas as JSON objects and the SDK implementation already handled dicts internally.

Checklist

  • I have installed prek on this project (for instance with the make install-dev command) before creating any commit, or I have run successfully the make lint command on my changes.
  • I have run successfully the make typecheck test command on my changes.
  • I have updated the README.md if my changes affected it.

@cjumel cjumel force-pushed the cursor/platform-sdk-sync-fast-depth-20260521 branch from f31b719 to 7b7841f Compare May 21, 2026 09:40
@cjumel cjumel changed the title Accept dict structured schemas in public client methods fix: allow structured output schema to be a dict May 21, 2026
@cjumel cjumel merged commit 87a6feb into main May 21, 2026
3 checks passed
@cjumel cjumel deleted the cursor/platform-sdk-sync-fast-depth-20260521 branch May 21, 2026 09:43
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.

2 participants