fix: use Mistral SDK with automatic rate-limit handling #83
No reviewers
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/mistral-rate-limit-sdk"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fetch()calls with the official@mistralai/mistralaiSDKProblem
When using Mistral as the observation extraction provider, hitting rate limits (HTTP 429) would cause the generator to fail and restart. After exceeding
MAX_CONSECUTIVE_RESTARTS=3, the worker would stop processing entirely, leaving messages stuck in the queue.Solution
The official Mistral SDK handles rate limits automatically via its
retryConfigoption. The SDK waits and retries with exponential backoff, preventing the generator from crashing on transient rate limit errors.Test plan
🤖 Generated with Claude Code