Add prompt-caching placeholder for OpenRouter SDK#45
Open
subtleGradient wants to merge 3 commits intomainfrom
Open
Add prompt-caching placeholder for OpenRouter SDK#45subtleGradient wants to merge 3 commits intomainfrom
subtleGradient wants to merge 3 commits intomainfrom
Conversation
This was referenced Nov 11, 2025
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Nov 11, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR adds placeholder structure for future OpenRouter SDK (@openrouter/sdk) examples, specifically for prompt caching functionality. The implementation follows the established pattern used by other SDK examples in the repository.
Key changes:
- Adds new
openrouter-sdkworkspace to the TypeScript monorepo - Creates placeholder documentation and package structure for future examples
- Links the new SDK examples in the main prompt caching documentation
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| typescript/package.json | Adds "openrouter-sdk" to the workspaces array |
| typescript/openrouter-sdk/package.json | Defines package configuration with placeholder script and dependencies |
| typescript/openrouter-sdk/README.md | Provides top-level README with status and planned features |
| typescript/openrouter-sdk/src/prompt-caching/README.md | Documents prompt caching examples structure and expected usage pattern |
| docs/prompt-caching.md | Adds link to OpenRouter SDK examples in ecosystem-specific examples list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
189d80e to
9795a98
Compare
88d58da to
909ba4d
Compare
909ba4d to
7225576
Compare
1e16343 to
9c1f09c
Compare
7225576 to
13a711d
Compare
This was referenced Nov 12, 2025
louisgv
approved these changes
Nov 13, 2025
13a711d to
c136b23
Compare
9c1f09c to
2fbc45d
Compare
- Add typescript/openrouter-sdk/src/prompt-caching/README.md - Placeholder for future @openrouter/sdk examples - Will follow same pattern as other SDKs (separate files per scenario)
c136b23 to
2be23db
Compare
2fbc45d to
ce141a2
Compare
- Replace local docs link with https://openrouter.ai/docs/features/prompt-caching - Remove TODO status section with planned filenames (can go stale) - Remove Expected Usage code block (duplicates actual examples) - Keep README minimal and maintenance-free
2be23db to
94c6b34
Compare
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.

Add prompt-caching placeholder for OpenRouter SDK
Simplify OpenRouter SDK prompt-caching README to link to main docs