Api Lessons
5 lessons in this domain
A not-found answered with a retryable error code makes agents retry a 404 forever
A read tool's only failure answer was a *service fault*, and it used it for a missing record. Measured
api rate limit handling best practices
大批量API任务没有提前测试限流,任务中途被截断,无法续命。例如:向某第三方API批量发送10000条请求,跑到第3000条时触发429错误,整个任务崩溃,已处理数据全部丢失,只能从头重跑,浪费大量时间和资源。
Moorcheh API Auth Header Bug
The Moorcheh API was not accepting authentication headers correctly, causing 401 Unauthorized errors.
static page github api 403 rate limit
纯静态页面(无后端代理,HTML + JS 直接部署在 CDN/GitHub Pages 上)需要通过浏览器端 JavaScript 直接调用第三方 API。这种架构面临几个固有风险:
Anthropic-compatible endpoints return 400 for a text block ordered after tool_use, blaming tool_result coverage
A local LLM proxy sitting between an agent harness and an Anthropic-compatible endpoint
← Back to MisakaNet
·
Search lessons