Skip to content

Commit 8be9df3

Browse files
Remove filename references from docs to prevent sync issues
1 parent 89cb44c commit 8be9df3

File tree

6 files changed

+5
-20
lines changed

6 files changed

+5
-20
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ make typescript # Run TypeScript monorepo examples
3737
- **Documentation**: [docs/prompt-caching.md](docs/prompt-caching.md)
3838
- **Examples**:
3939
- [curl/prompt-caching.sh](curl/prompt-caching.sh)
40-
- [typescript/fetch/src/prompt-caching.ts](typescript/fetch/src/prompt-caching.ts)
41-
- [typescript/ai-sdk-v5/src/prompt-caching.ts](typescript/ai-sdk-v5/src/prompt-caching.ts)
42-
- [typescript/effect-ai/src/prompt-caching.ts](typescript/effect-ai/src/prompt-caching.ts)
40+
- [typescript/fetch/src/prompt-caching/](typescript/fetch/src/prompt-caching/)
41+
- [typescript/ai-sdk-v5/src/prompt-caching/](typescript/ai-sdk-v5/src/prompt-caching/)
42+
- [typescript/effect-ai/src/prompt-caching/](typescript/effect-ai/src/prompt-caching/)
4343

4444
## Prerequisites
4545

typescript/fetch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bun examples
2020

2121
## Features
2222

23-
- [prompt-caching.ts](./src/prompt-caching.ts) - Anthropic caching with TypeScript types
23+
- [prompt-caching](./src/prompt-caching/) - Anthropic caching examples
2424

2525
## Dependencies
2626

typescript/fetch/src/prompt-caching/README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@ For full prompt caching documentation including all providers, pricing, and conf
99

1010
## Examples in This Directory
1111

12-
- `user-message-cache.ts` - Cache large context in user messages
13-
- `multi-message-cache.ts` - Cache system prompt across multi-turn conversations
14-
- `no-cache-control.ts` - Control scenario (validates methodology)
15-
16-
## Quick Start
17-
18-
```bash
19-
# Run an example
20-
bun run typescript/fetch/src/prompt-caching/user-message-cache.ts
21-
```
12+
See the TypeScript files in this directory for specific examples.
2213

2314
## Key Requirements (Anthropic)
2415

typescript/fetch/src/prompt-caching/anthropic-multi-message-cache.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* - System message with cache
2323
* - Multiple user/assistant exchanges
2424
* - Cache should persist across the conversation
25-
*
26-
* To run: bun run typescript/fetch/src/multi-message-cache.ts
2725
*/
2826

2927
import { LARGE_SYSTEM_PROMPT } from '@openrouter-examples/shared/constants';

typescript/fetch/src/prompt-caching/anthropic-no-cache-control.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* - Same large system prompt
1717
* - NO cache_control markers
1818
* - Should NOT see cache metrics
19-
*
20-
* To run: bun run typescript/fetch/src/no-cache-control.ts
2119
*/
2220

2321
import { LARGE_SYSTEM_PROMPT } from '@openrouter-examples/shared/constants';

typescript/fetch/src/prompt-caching/anthropic-user-message-cache.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* Pattern: User message with content-level cache_control (less common but valid)
2222
* - User message with content array
2323
* - cache_control on text content block
24-
*
25-
* To run: bun run typescript/fetch/src/user-message-cache.ts
2624
*/
2725

2826
import { LARGE_SYSTEM_PROMPT } from '@openrouter-examples/shared/constants';

0 commit comments

Comments
 (0)