Commit History
-
refactor: implement proper middleware architecture (SPEC-21)
- Renames src/middleware → src/workflows (accurate naming) - Creates proper src/middleware with ChatMiddleware implementations - Implements RetryMiddleware (fixes HuggingFace 429 crashes) - Implements TokenTrackingMiddleware (enables cost monitoring) - Updates HuggingFaceChatClient to use new middleware - Updates tests and importsae5413a