Skip to content

Commit 836b8c6

Browse files
thegdsksCopilot
andauthored
Update src/utils/providers/anthropic.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0be47f7 commit 836b8c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils/providers/anthropic.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ Respond with JSON in this format:
113113
};
114114
} catch (error) {
115115
// Re-throw specific error types
116-
const { ClaudeRateLimitError, ClaudeValidationError } = await lazy(
117-
() => import('../../types/ai.js')
118-
);
116+
const { ClaudeRateLimitError, ClaudeValidationError } = await lazy(() => import('../../types/ai.js'));
119117
if (error instanceof ClaudeRateLimitError || error instanceof ClaudeValidationError) {
120118
throw error;
121119
}

0 commit comments

Comments
 (0)