Skip to content

Conversation

@subtleGradient
Copy link
Contributor

Add prompt-caching placeholder for OpenRouter SDK

  • 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)

Simplify OpenRouter SDK prompt-caching README to link to main docs

@subtleGradient subtleGradient marked this pull request as ready for review November 11, 2025 23:53
Copilot AI review requested due to automatic review settings November 11, 2025 23:53
Copilot finished reviewing on behalf of subtleGradient November 11, 2025 23:55
Copy link

Copilot AI left a 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-sdk workspace 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.

@subtleGradient subtleGradient force-pushed the 04-prompt-caching-effect branch from 189d80e to 9795a98 Compare November 12, 2025 22:23
@subtleGradient subtleGradient force-pushed the 05-prompt-caching-orsdk branch from 88d58da to 909ba4d Compare November 12, 2025 22:23
@subtleGradient subtleGradient changed the base branch from 04-prompt-caching-effect to graphite-base/45 November 12, 2025 22:29
@subtleGradient subtleGradient force-pushed the 05-prompt-caching-orsdk branch from 909ba4d to 7225576 Compare November 12, 2025 22:47
@subtleGradient subtleGradient changed the base branch from graphite-base/45 to pdf-example-effect November 12, 2025 22:47
@subtleGradient subtleGradient force-pushed the 05-prompt-caching-orsdk branch from 7225576 to 13a711d Compare November 12, 2025 23:18
@subtleGradient subtleGradient force-pushed the 05-prompt-caching-orsdk branch from 13a711d to c136b23 Compare November 19, 2025 11:13
@subtleGradient subtleGradient changed the base branch from pdf-example-effect to graphite-base/45 November 19, 2025 17:46
- 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)
@graphite-app graphite-app bot changed the base branch from graphite-base/45 to main November 19, 2025 17:51
- 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
@subtleGradient subtleGradient force-pushed the 05-prompt-caching-orsdk branch from 2be23db to 94c6b34 Compare November 19, 2025 17:51
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