mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-10 22:36:58 +08:00
docs: update nofxi-tasks.md — record 11:22 batch
This commit is contained in:
@@ -68,8 +68,16 @@
|
|||||||
|
|
||||||
### Performance
|
### Performance
|
||||||
- [DONE] Reuse shared HTTP client in Hyperliquid trader (was creating new client per API call, preventing TCP/TLS connection reuse)
|
- [DONE] Reuse shared HTTP client in Hyperliquid trader (was creating new client per API call, preventing TCP/TLS connection reuse)
|
||||||
|
- [DONE] Reuse shared HTTP client in Bybit trader — replaced `http.Get` (no timeout!) and `http.DefaultClient` with `bybitHTTPClient` (30s timeout, connection pooling)
|
||||||
- [PENDING] `gatherContext` in agent.go iterates all traders and positions on every message — consider caching (low priority: only triggered per user message)
|
- [PENDING] `gatherContext` in agent.go iterates all traders and positions on every message — consider caching (low priority: only triggered per user message)
|
||||||
|
|
||||||
|
### Frontend Auth Bugs (2026-03-23 11:22)
|
||||||
|
- [DONE] Fix `resetPassword` in AuthContext.tsx — was calling `/api/reset-password` without auth token (endpoint moved behind auth middleware, so it always returned 401)
|
||||||
|
- [DONE] Fix SettingsPage.tsx password change — was using `localStorage.getItem('token')` but auth system stores as `auth_token` (always sent empty Bearer token)
|
||||||
|
|
||||||
|
### Code Consistency
|
||||||
|
- [DONE] Migrate remaining `io.ReadAll(io.LimitReader())` in agent/brain.go and agent/sentinel.go to `safe.ReadAllLimited` — consistent usage across codebase, removed unused `io` imports
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
- [PENDING] Agent chat has fake streaming (word-by-word setTimeout) — implement real SSE streaming
|
- [PENDING] Agent chat has fake streaming (word-by-word setTimeout) — implement real SSE streaming
|
||||||
- [PENDING] Add WebSocket support for real-time position/balance updates instead of polling
|
- [PENDING] Add WebSocket support for real-time position/balance updates instead of polling
|
||||||
|
|||||||
Reference in New Issue
Block a user