You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/typescript-sdk/context/README.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,14 +146,4 @@ The auggie CLI respects both `.gitignore` and `.augmentignore` patterns and will
146
146
147
147
**Solution:** Run `auggie login` to authenticate, or set the `AUGMENT_API_TOKEN` and `AUGMENT_API_URL` environment variables.
148
148
149
-
### API Search Failures
150
149
151
-
**Problem:** Some searches return `"Retrieval failed. Please try again."`
152
-
153
-
**Cause:** Known issue with the staging API backend where certain query patterns consistently fail.
154
-
155
-
**Solution:** The Direct Context example includes automatic retry logic with exponential backoff. If queries still fail after retries, try rephrasing them:
156
-
- ❌ "calculator functions for arithmetic" → ✅ "calculator functions"
157
-
- ❌ "Calculator class methods" → ✅ "Calculator methods"
158
-
159
-
See [ISSUE_2_FINDINGS.md](./ISSUE_2_FINDINGS.md) for detailed analysis and failure patterns.
-**`searchAndAsk()`**: One-step AI Q&A about indexed code
28
28
-**State persistence**: Export/import index for reuse
29
-
-**Retry logic**: Automatic retry with exponential backoff for failed searches
30
-
31
-
## Known Issues
32
-
33
-
### API Search Failures
34
-
35
-
Some search queries may fail with `"Retrieval failed. Please try again."` This is a known issue with the staging API backend. The example includes retry logic to handle these failures:
36
-
37
-
- Automatically retries failed searches up to 3 times
38
-
- Uses exponential backoff (1s, 2s, 4s delays)
39
-
- Logs retry attempts for visibility
40
-
41
-
**Workaround:** If a query consistently fails after retries, try rephrasing it:
42
-
- ❌ "calculator functions for arithmetic" → ✅ "calculator functions"
43
-
- ❌ "Calculator class methods" → ✅ "Calculator methods"
44
-
45
-
See [ISSUE_2_FINDINGS.md](../ISSUE_2_FINDINGS.md) for detailed analysis.
0 commit comments