Backend: - Track VISION_MODELS list at startup from available endpoints - Add is_vision_model() to detect vision-capable models (*-vl*, *vision*, gpt-4o) - Add extract_base64_from_img_tag() and build_message_content() helpers - Modify chat_gpt() to include base64 images for vision models - Add GET /vision endpoint for vision availability status - Add POST /vision/describe endpoint for image alt-text generation Frontend: - Check vision availability on page load via /vision - Add hover event delegation on chat images - On hover: call vision model, cache result, set img.title and img.alt - Shows cursor:wait while loading description |
||
|---|---|---|
| .. | ||
| auth.html | ||
| base.html | ||
| browse.html | ||
| chat.html | ||
| index.html | ||
| profile.html | ||
| search.html | ||