You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix maybeRemoveImageBlocks() calling getModel() once per message (100+ calls → 1)
- Add disk cache fallback to getModelsFromCache() to prevent hardcoded defaults
- Cache model ID in presentAssistantMessage to avoid repeated calls during tool execution
- Remove verbose logging from modelCache while keeping error logs
- Keep protocol tracking logs in Task.ts for debugging
This reduces getModel() calls from 119+ per message to ~2-5 per message.
0 commit comments