tpmjs/apps
Ajax Davis 4094c661be fix: properly pass env vars to cached tools and add extensive logging
PROBLEM:
- Tool wrappers cached env vars in closure, so cached tools used stale env
- Client env vars weren't reaching Railway executor even when provided
- No visibility into env var flow through the system

SOLUTION:
1. Store env vars per conversation in conversationEnv Map
2. Tool execute functions look up latest env from Map (not closure)
3. Chat API calls setConversationEnv() on each request
4. Added logging at every step

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 14:18:32 +10:00
..
playground fix: properly pass env vars to cached tools and add extensive logging 2025-12-04 14:18:32 +10:00
railway-executor fix: properly pass env vars to cached tools and add extensive logging 2025-12-04 14:18:32 +10:00
web feat: implement BM25 search with context from last 3 user messages 2025-12-04 13:59:22 +10:00