v3.1.4
π Bug Fix: Detect Fake Image Generation
Problem: Some models (especially those with weak tool calling support) would generate text that looks like an image result (e.g., data:image/png;base64,PLACEHOLDER) without actually calling the generate_image tool. This resulted in the user seeing a fake image placeholder instead of a real image or a clear error.
Fix: Added detection in ChatViewModel that recognizes when the model output contains image-like placeholders but no tool was actually called. When detected, the app now shows a clear error message explaining that the selected model doesn't support the generate_image tool and suggests alternatives (Claude, GPT-4o, or NVIDIA models with tool support).
Changes:
ViewModels/ChatViewModel.swiftβ Detect fake image generation patterns- Bump version to 3.1.4