Skip to content

fix: retry Google embedding calls on 429 RESOURCE_EXHAUSTED#287

Merged
luarss merged 1 commit into
The-OpenROAD-Project:masterfrom
luarss:fix-ciii
Jun 5, 2026
Merged

fix: retry Google embedding calls on 429 RESOURCE_EXHAUSTED#287
luarss merged 1 commit into
The-OpenROAD-Project:masterfrom
luarss:fix-ciii

Conversation

@luarss
Copy link
Copy Markdown
Collaborator

@luarss luarss commented Jun 5, 2026

Add tenacity retry with exponential backoff to FAISSVectorDatabase._add_to_db and process_json to handle transient rate-limit errors from the Google Generative AI / Vertex AI embedding API during backend startup. Promotes tenacity to an explicit direct dependency.

Add tenacity retry with exponential backoff to FAISSVectorDatabase._add_to_db
and process_json to handle transient rate-limit errors from the Google
Generative AI / Vertex AI embedding API during backend startup.
Promotes tenacity to an explicit direct dependency.

Signed-off-by: Jack Luar <jluar@precisioninno.com>
@luarss luarss merged commit c67bb35 into The-OpenROAD-Project:master Jun 5, 2026
2 checks passed
@luarss luarss deleted the fix-ciii branch June 5, 2026 14:14
luarss added a commit to luarss/ORAssistant that referenced this pull request Jun 6, 2026
…ROAD-Project#287)

Add tenacity retry with exponential backoff to FAISSVectorDatabase._add_to_db
and process_json to handle transient rate-limit errors from the Google
Generative AI / Vertex AI embedding API during backend startup.
Promotes tenacity to an explicit direct dependency.

Signed-off-by: Jack Luar <jluar@precisioninno.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant