Skip to content

Commit 2fa940d

Browse files
authored
remove duplicate ToolApprovalResponsePartOptions (#1763)
1 parent 00add69 commit 2fa940d

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.changeset/chubby-planets-fall.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@effect/ai-anthropic": patch
3+
---
4+
5+
Remove duplicate `ToolApprovalResponsePartOptions` from Anthropic package

packages/ai/anthropic/src/AnthropicLanguageModel.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,6 @@ declare module "effect/unstable/ai/Prompt" {
229229
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null
230230
} | null
231231
}
232-
233-
export interface ToolApprovalResponsePartOptions extends ProviderOptions {
234-
readonly anthropic?: {
235-
/**
236-
* A breakpoint which marks the end of reusable content eligible for caching.
237-
*/
238-
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null
239-
} | null
240-
}
241232
}
242233

243234
declare module "effect/unstable/ai/Response" {

0 commit comments

Comments
 (0)