Skip to content

Commit 25cbe98

Browse files
Remove filename references from docs to prevent sync issues
1 parent 284043b commit 25cbe98

File tree

5 files changed

+2
-17
lines changed

5 files changed

+2
-17
lines changed

typescript/effect-ai/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 Effect patterns
23+
- [prompt-caching](./src/prompt-caching/) - Anthropic caching examples with Effect patterns
2424

2525
### Key Configuration
2626

typescript/effect-ai/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/effect-ai/src/prompt-caching/user-message-cache.ts
21-
```
12+
See the TypeScript files in this directory for specific examples.
2213

2314
## Effect AI Usage
2415

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* via OpenRouter using Effect AI.
66
*
77
* Pattern: User message cache in multi-turn conversation using Effect patterns
8-
*
9-
* To run: bun run typescript/effect-ai/src/prompt-caching/multi-message-cache.ts
108
*/
119

1210
import * as OpenRouterClient from '@effect/ai-openrouter/OpenRouterClient';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* no caching occurs.
66
*
77
* Purpose: Validates that cache behavior is due to cache_control, not coincidence
8-
*
9-
* To run: bun run typescript/effect-ai/src/prompt-caching/no-cache-control.ts
108
*/
119

1210
import * as OpenRouterClient from '@effect/ai-openrouter/OpenRouterClient';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
* CRITICAL CONFIGURATION:
1313
* - **MUST** include stream_options: { include_usage: true } in model config layer
1414
* - Without it, usage.cachedInputTokens will be undefined
15-
*
16-
* To run: bun run typescript/effect-ai/src/prompt-caching/user-message-cache.ts
1715
*/
1816

1917
import * as OpenRouterClient from '@effect/ai-openrouter/OpenRouterClient';

0 commit comments

Comments
 (0)