multica/src/agent
yushen e8815dbb97 fix(agent): loop-based rotation, timeout rotatable, error classification tests
- Replace single-retry with while loop that exhausts all candidate profiles
- Add "format" detection to classifyError (400, malformed, bad request, schema)
- Make timeout errors rotatable (some providers hang on rate limit)
- Export classifyError and isRotatableError for testing
- Add error-classification.test.ts with coverage for all failure reasons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:26:16 +08:00
..
auth-profiles fix(agent): loop-based rotation, timeout rotatable, error classification tests 2026-02-03 17:26:16 +08:00
cli Merge pull request #62 from multica-ai/forrestchang/agent-error-handling 2026-02-03 02:59:51 +08:00
context-window test(context): add unit tests for context window guard 2026-01-30 14:00:38 +08:00
profile refactor(profile): simplify profile structure by removing identity and bootstrap 2026-02-01 23:49:37 +08:00
providers feat(agent): integrate auth profile rotation into runner and resolver 2026-02-03 16:56:04 +08:00
session feat(credentials): add JSON5 credential system 2026-02-01 02:28:27 +08:00
skills feat(skills): implement progressive loading for reduced token usage 2026-02-02 16:00:38 +08:00
tools Merge pull request #62 from multica-ai/forrestchang/agent-error-handling 2026-02-03 02:59:51 +08:00
async-agent.ts feat(agent): stream raw AgentEvent from engine to Hub via Gateway 2026-02-03 14:22:49 +08:00
channel.ts feat(agent): add SyncAgent and AsyncAgent wrapper classes 2026-01-30 11:37:09 +08:00
credentials-cli.ts feat(credentials): add JSON5 credential system 2026-02-01 02:28:27 +08:00
credentials.ts feat(agent): integrate auth profile rotation into runner and resolver 2026-02-03 16:56:04 +08:00
extract-text.ts feat(agent): add streaming support for AI message generation 2026-02-02 17:18:10 +08:00
index.ts feat(agent): add SyncAgent and AsyncAgent wrapper classes 2026-01-30 11:37:09 +08:00
runner.ts fix(agent): loop-based rotation, timeout rotatable, error classification tests 2026-02-03 17:26:16 +08:00
sync-agent.ts feat(agent): add SyncAgent and AsyncAgent wrapper classes 2026-01-30 11:37:09 +08:00
tools.ts Merge pull request #62 from multica-ai/forrestchang/agent-error-handling 2026-02-03 02:59:51 +08:00
types.ts feat(agent): integrate auth profile rotation into runner and resolver 2026-02-03 16:56:04 +08:00