Commit b1b49b0
committed
fix: align warning and action error classification
Addresses chatgpt-codex-connector[bot] P2 review feedback:
The warning and action fields in buildMemorySearchUnavailableResult now use
the same error classification logic (resolveEmbeddingErrorKind). Previously,
warning used a regex that didn't include "rate limit", while action used
resolveEmbeddingErrorHint which does include it, causing inconsistent
diagnostics for "rate limit exceeded" errors.
Now both fields correctly classify rate limit errors as quota failures,
ensuring consistent messaging to users and callers.
No functional changes to the actual remediation logic - purely fixing the
internal consistency of warning text.1 parent 45d7369 commit b1b49b0
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- extensions/memory-core/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments