Skip to content

Commit 94c6b34

Browse files
docs: link to OpenRouter docs and remove placeholder content
- 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
1 parent 3aac558 commit 94c6b34

File tree

1 file changed

+3
-19
lines changed
  • typescript/openrouter-sdk/src/prompt-caching

1 file changed

+3
-19
lines changed

typescript/openrouter-sdk/src/prompt-caching/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,8 @@ Examples demonstrating prompt caching with @openrouter/sdk.
55
## Documentation
66

77
For full prompt caching documentation including all providers, pricing, and configuration details, see:
8-
- **[Prompt Caching Guide](../../../../docs/prompt-caching.md)**
8+
- **[OpenRouter Prompt Caching Guide](https://openrouter.ai/docs/features/prompt-caching)**
99

10-
## Status
10+
## Examples in This Directory
1111

12-
**TODO**: Examples coming soon. This directory will contain:
13-
- `user-message-cache.ts` - Cache large context in user messages
14-
- `multi-message-cache.ts` - Cache system prompt across multi-turn conversations
15-
- `no-cache-control.ts` - Control scenario (validates methodology)
16-
17-
## Expected Usage
18-
19-
```typescript
20-
import OpenRouter from '@openrouter/sdk';
21-
22-
const openrouter = new OpenRouter({
23-
apiKey: process.env.OPENROUTER_API_KEY,
24-
});
25-
26-
// Configuration and cache_control usage pattern will be documented
27-
// when examples are implemented
28-
```
12+
See the TypeScript files in this directory for specific examples.

0 commit comments

Comments
 (0)