-
Notifications
You must be signed in to change notification settings - Fork 43
Add prompt-caching placeholder for OpenRouter SDK #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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

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