tpmjs/apps
Ajax Davis 9fc4339d52 fix: read env vars directly from localStorage to avoid React closure issue
The previous approach using useEnvVars() hook had a closure problem:
- envVars started as [] on first render
- buildEnvObject captured this empty array
- Even with function body, the transport memoized the old buildEnvObject

Solution: Read directly from localStorage inside the body function
- Bypasses React state entirely
- Gets fresh values on each request
- No closure issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 14:36:51 +10:00
..
playground fix: read env vars directly from localStorage to avoid React closure issue 2025-12-04 14:36:51 +10:00
railway-executor fix: use function body in DefaultChatTransport to send latest env vars 2025-12-04 14:25:59 +10:00
web feat: implement BM25 search with context from last 3 user messages 2025-12-04 13:59:22 +10:00