Skip to content

fix(examples): address PR #105 review comments#106

Merged
AdirAmsalem merged 1 commit intomainfrom
fix-pr-105-comments
Mar 26, 2026
Merged

fix(examples): address PR #105 review comments#106
AdirAmsalem merged 1 commit intomainfrom
fix-pr-105-comments

Conversation

@AdirAmsalem
Copy link
Copy Markdown
Contributor

@AdirAmsalem AdirAmsalem commented Mar 26, 2026

Summary

Addresses open review comments from #105 (deprecated model removal):

  • Increase express.json() body size limit to 50mb so base64 data URL payloads don't hit the default 100KB cap
  • Remove 3 duplicate example files (text-to-image.ts, text-to-video.ts, image-to-video.ts) that were repurposed during model removal but became identical to existing examples with misleading names
  • Update examples/sdk-core/README.md references accordingly

Test plan

  • Verify express example starts without errors
  • Verify no broken references to deleted files remain

🤖 Generated with Claude Code


Note

Low Risk
Low risk: changes are confined to example code and documentation, mainly increasing request body size and deleting redundant example scripts.

Overview
Updates the examples/express-api server to accept large base64 payloads by raising the express.json() body limit to 50mb.

Cleans up examples/sdk-core by removing three redundant/misleading example scripts (image/text-to-image.ts, video/text-to-video.ts, video/image-to-video.ts) and updating the README to point to the remaining image-to-image and video-to-video examples.

Written by Cursor Bugbot for commit 993cd92. This will update automatically on new commits. Configure here.

Increase express.json body limit to 50mb for base64 data URL payloads,
remove duplicate example files left over from deprecated model removal,
and update README references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 26, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@decartai/sdk@106

commit: 993cd92

@AdirAmsalem AdirAmsalem merged commit 10aa9d9 into main Mar 26, 2026
5 checks passed
@AdirAmsalem AdirAmsalem deleted the fix-pr-105-comments branch March 26, 2026 14:21
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