Skip to content

Commit a3a9161

Browse files
committed
feat: handle rate limits in batch evaluations
1 parent f7f9959 commit a3a9161

File tree

27 files changed

+7015
-359
lines changed

27 files changed

+7015
-359
lines changed

packages/constants/src/errors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export enum RunErrorCodes {
1818
MissingProvider = 'missing_provider_error',
1919
ChainCompileError = 'chain_compile_error',
2020
AIRunError = 'ai_run_error',
21+
RateLimit = 'rate_limit_error',
2122
UnsupportedProviderResponseTypeError = 'unsupported_provider_response_type_error',
2223
AIProviderConfigError = 'ai_provider_config_error',
2324
EvaluationRunMissingProviderLogError = 'ev_run_missing_provider_log_error', // TODO(evalsv2): Deprecated, remove when v1 evals are migrated
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TYPE "latitude"."run_error_code_enum" ADD VALUE 'rate_limit_error';

0 commit comments

Comments
 (0)