Skip to content

Instantly share code, notes, and snippets.

@Edmundworks
Created April 9, 2025 17:38
Show Gist options
  • Save Edmundworks/bfd3eb90f92f6ab931ec5ef1ecf52ede to your computer and use it in GitHub Desktop.
Save Edmundworks/bfd3eb90f92f6ab931ec5ef1ecf52ede to your computer and use it in GitHub Desktop.
server: 'cloudflare',
'set-cookie': '_cfuvid=sl_9UlHm_wkcldUGN6EAJGAdXrbmG.mJVAzGayQB4_4-1744220218472-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m21.327s',
'x-ratelimit-reset-tokens': '716h52m53.967s',
'x-request-id': 'req_581615c976c47d1aa4246a8f95f664f8'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "tokens",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc50d2a21bdbc-EWR',
connection: 'keep-alive',
'content-length': '500',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:36:58 GMT',
'retry-after': '1',
'retry-after-ms': '287',
server: 'cloudflare',
'set-cookie': '_cfuvid=sl_9UlHm_wkcldUGN6EAJGAdXrbmG.mJVAzGayQB4_4-1744220218472-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m21.327s',
'x-ratelimit-reset-tokens': '716h52m53.967s',
'x-request-id': 'req_581615c976c47d1aa4246a8f95f664f8'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "tokens",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate 696a1323-eb2c-48cb-bda9-8f4489850a78: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc50d2a21bdbc-EWR',
connection: 'keep-alive',
'content-length': '500',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:36:58 GMT',
'retry-after': '1',
'retry-after-ms': '287',
server: 'cloudflare',
'set-cookie': '_cfuvid=sl_9UlHm_wkcldUGN6EAJGAdXrbmG.mJVAzGayQB4_4-1744220218472-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m21.327s',
'x-ratelimit-reset-tokens': '716h52m53.967s',
'x-request-id': 'req_581615c976c47d1aa4246a8f95f664f8'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on tokens per min (TPM): Limit 60000, Used 57837, Requested 2450. Please try again in 287ms. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "tokens",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
POST /companies/ff67c5f8-c86b-4c79-94d8-2d049a2ed317/jobs/793a2e0f-236b-40e0-9738-0afbe39f1e91/candidates?page=71 200 in 14251ms
Building Drizzle candidate query for job: 793a2e0f-236b-40e0-9738-0afbe39f1e91 with options: none
GET /companies/ff67c5f8-c86b-4c79-94d8-2d049a2ed317/jobs/793a2e0f-236b-40e0-9738-0afbe39f1e91/candidates?page=71 200 in 266ms
Evaluating proxy with LLM for candidate: 696a1323-eb2c-48cb-bda9-8f4489850a78
Proxies: ------------------------------------------ [
{
id: 'bbb04e6a-eb18-4b2e-b6fe-c86919d5de4e',
name: 'Built Database Product',
description: 'Has built database products F1, Spanner Alloy DB, its important they actually worked on the team building these products not just used them'
},
{
id: '9434a577-bffb-44db-92e5-1ffb3668d346',
name: 'Database internals',
description: 'Worked on the internals of database systems, contributing to core functionality and optimization.Might also be called database internals or DB internals'
},
{
id: '1200a35f-8cf6-419f-b8aa-deb506868aa6',
name: 'Machine Learning Ops',
description: 'Has experience building ML Ops infrastructure'
},
{
id: 'bf69e5a1-fa91-4d58-ab94-af630c09daac',
name: 'Cloud DB products',
description: 'Has worked at companies who core product is a cloud DB or managed cloud like Databricks, Snowflake, Supabase. MongoDB or similar companies'
}
]
Proxies type: object true
Proxies end: ------------------------------------------
Error evaluating proxy: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc53c2c265642-EWR',
connection: 'keep-alive',
'content-length': '497',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:05 GMT',
'retry-after': '432',
'retry-after-ms': '432000',
server: 'cloudflare',
'set-cookie': '_cfuvid=JkJBeGcUivOPHkIUV_E2IALtcQK..HFWgkt1YqEXF3I-1744220225982-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m13.814s',
'x-ratelimit-reset-tokens': '716h52m46.454s',
'x-request-id': 'req_d9c2540a9f01fcbcb6ff38de782dba69'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc53c2c265642-EWR',
connection: 'keep-alive',
'content-length': '497',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:05 GMT',
'retry-after': '432',
'retry-after-ms': '432000',
server: 'cloudflare',
'set-cookie': '_cfuvid=JkJBeGcUivOPHkIUV_E2IALtcQK..HFWgkt1YqEXF3I-1744220225982-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m13.814s',
'x-ratelimit-reset-tokens': '716h52m46.454s',
'x-request-id': 'req_d9c2540a9f01fcbcb6ff38de782dba69'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate 696a1323-eb2c-48cb-bda9-8f4489850a78: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc53c2c265642-EWR',
connection: 'keep-alive',
'content-length': '497',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:05 GMT',
'retry-after': '432',
'retry-after-ms': '432000',
server: 'cloudflare',
'set-cookie': '_cfuvid=JkJBeGcUivOPHkIUV_E2IALtcQK..HFWgkt1YqEXF3I-1744220225982-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m13.814s',
'x-ratelimit-reset-tokens': '716h52m46.454s',
'x-request-id': 'req_d9c2540a9f01fcbcb6ff38de782dba69'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Evaluating proxy with LLM for candidate: 696a1323-eb2c-48cb-bda9-8f4489850a78
Proxies: ------------------------------------------ [
{
id: 'bbb04e6a-eb18-4b2e-b6fe-c86919d5de4e',
name: 'Built Database Product',
description: 'Has built database products F1, Spanner Alloy DB, its important they actually worked on the team building these products not just used them'
},
{
id: '9434a577-bffb-44db-92e5-1ffb3668d346',
name: 'Database internals',
description: 'Worked on the internals of database systems, contributing to core functionality and optimization.Might also be called database internals or DB internals'
},
{
id: '1200a35f-8cf6-419f-b8aa-deb506868aa6',
name: 'Machine Learning Ops',
description: 'Has experience building ML Ops infrastructure'
},
{
id: 'bf69e5a1-fa91-4d58-ab94-af630c09daac',
name: 'Cloud DB products',
description: 'Has worked at companies who core product is a cloud DB or managed cloud like Databricks, Snowflake, Supabase. MongoDB or similar companies'
}
]
Proxies type: object true
Proxies end: ------------------------------------------
Error evaluating proxy: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc567e82abdbc-EWR',
connection: 'keep-alive',
'content-length': '491',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:12 GMT',
'retry-after': '20',
'retry-after-ms': '20000',
server: 'cloudflare',
'set-cookie': '_cfuvid=xDFmTY5Tu6Q5g65WXXpk7iOZg7TX7HmfPTzVuiRqZCM-1744220232984-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m6.815s',
'x-ratelimit-reset-tokens': '716h52m39.455s',
'x-request-id': 'req_ca0063a9821300470f2eb69fb551fb55'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc567e82abdbc-EWR',
connection: 'keep-alive',
'content-length': '491',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:12 GMT',
'retry-after': '20',
'retry-after-ms': '20000',
server: 'cloudflare',
'set-cookie': '_cfuvid=xDFmTY5Tu6Q5g65WXXpk7iOZg7TX7HmfPTzVuiRqZCM-1744220232984-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m6.815s',
'x-ratelimit-reset-tokens': '716h52m39.455s',
'x-request-id': 'req_ca0063a9821300470f2eb69fb551fb55'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
Error evaluating candidate 696a1323-eb2c-48cb-bda9-8f4489850a78: Error [AI_RetryError]: Failed after 3 attempts. Last error: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
reason: 'maxRetriesExceeded',
errors: [Array],
lastError: Error [AI_APICallError]: Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.
at async LLMService.generateObject (src/services/llm-service.ts:121:23)
at async CandidateAssessmentService._evaluateProxyWithLLM (src/services/candidate/candidate-assessment-service.ts:478:20)
at async CandidateAssessmentService.evaluateProxyMatch (src/services/candidate/candidate-assessment-service.ts:401:21)
at async evaluateCandidate (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:94:25)
at async evaluateCandidates (src/app/(dashboard)/companies/[companyId]/jobs/[jobsId]/candidates/actions.ts:154:21)
119 | })
120 |
> 121 | const { object } = await generateObject({
| ^
122 | model: this.models[options.model],
123 | messages: messages,
124 | output: "no-schema", {
cause: undefined,
url: 'https://api.openai.com/v1/chat/completions',
requestBodyValues: {
model: 'gpt-4o-mini',
logit_bias: undefined,
logprobs: undefined,
top_logprobs: undefined,
user: undefined,
parallel_tool_calls: undefined,
max_tokens: undefined,
temperature: 0,
top_p: undefined,
frequency_penalty: undefined,
presence_penalty: undefined,
response_format: [Object],
stop: undefined,
seed: undefined,
max_completion_tokens: undefined,
store: undefined,
metadata: undefined,
prediction: undefined,
reasoning_effort: undefined,
messages: [Array]
},
statusCode: 429,
responseHeaders: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '92dbc567e82abdbc-EWR',
connection: 'keep-alive',
'content-length': '491',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 09 Apr 2025 17:37:12 GMT',
'retry-after': '20',
'retry-after-ms': '20000',
server: 'cloudflare',
'set-cookie': '_cfuvid=xDFmTY5Tu6Q5g65WXXpk7iOZg7TX7HmfPTzVuiRqZCM-1744220232984-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-ratelimit-limit-requests': '200',
'x-ratelimit-limit-tokens': '100000',
'x-ratelimit-remaining-requests': '0',
'x-ratelimit-remaining-tokens': '433',
'x-ratelimit-reset-requests': '23h56m6.815s',
'x-ratelimit-reset-tokens': '716h52m39.455s',
'x-request-id': 'req_ca0063a9821300470f2eb69fb551fb55'
},
responseBody: '{\n' +
' "error": {\n' +
' "message": "Rate limit reached for gpt-4o-mini in organization org-3SrFVss9VFmFSPBXkHqTTLDB on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.",\n' +
' "type": "requests",\n' +
' "param": null,\n' +
' "code": "rate_limit_exceeded"\n' +
' }\n' +
'}\n',
isRetryable: true,
data: { error: [Object] }
}
}
POST /companies/ff67c5f8-c86b-4c79-94d8-2d049a2ed317/jobs/793a2e0f-236b-40e0-9738-0afbe39f1e91/candidates?page=71 200 in 14126ms
Building Drizzle candidate query for job: 793a2e0f-236b-40e0-9738-0afbe39f1e91 with options: none
GET /companies/ff67c5f8-c86b-4c79-94d8-2d049a2ed317/jobs/793a2e0f-236b-40e0-9738-0afbe39f1e91/candidates?page=71 200 in 339ms
Evaluating proxy with LLM for candidate: 696a1323-eb2c-48cb-bda9-8f4489850a78
Proxies: ------------------------------------------ [
{
id: 'bbb04e6a-eb18-4b2e-b6fe-c86919d5de4e',
name: 'Built Database Product',
description: 'Has built database products F1, Spanner Alloy DB, its important they actually worked on the team building these products not just used them'
},
{
id: '9434a577-bffb-44db-92e5-1ffb3668d346',
name: 'Database internals',
description: 'Worked on the internals of database systems, contributing to core functionality and optimization.Might also be called database internals or DB internals'
},
{
id: '1200a35f-8cf6-419f-b8aa-deb506868aa6',
name: 'Machine Learning Ops',
description: 'Has experience building ML Ops infrastructure'
},
{
id: 'bf69e5a1-fa91-4d58-ab94-af630c09daac',
name: 'Cloud DB products',
description: 'Has worked at companies who core product is a cloud DB or managed cloud like Databricks, Snowflake, Supabase. MongoDB or similar companies'
}
]
Proxies type: object true
Proxies end: ------------------------------------------
^C POST /companies/ff67c5f8-c86b-4c79-94d8-2d049a2ed317/jobs/793a2e0f-236b-40e0-9738-0afbe39f1e91/candidates?page=71 200 in 6056ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment