ReMe/reme/components/embedding_store
BeiMu-new 6dcc7664a3 fix(embedding): leave provider 5xx retries to the layers that own them
A store-level retry for a provider 5xx stacked on top of the retries the
embedding wrapper and the provider SDK already perform, so a batch the SDK
answered after 12 attempts became 36. Retry ownership stays with those
layers; the store answers a provider-wide 5xx once and gives up.

Transport failures keep their retry because they describe a connection that
no lower layer has reported, and the opt-in quota policy is untouched.

Tests updated to pin the new boundary: a 503 is answered once for the
OpenAI-shaped, Gemini-shaped and DashScope-shaped errors, while a 429 keeps
its retry from the rate-limit branch.
2026-10-16 21:10:39 +08:00
..
__init__.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
base_embedding_store.py fix: recover embeddings after transient health check failure (#471) 2026-08-21 13:58:51 +08:00
local_embedding_store.py fix(embedding): leave provider 5xx retries to the layers that own them 2026-10-16 21:10:39 +08:00