opencompletion.com/templates
Russell Ballestrini bd2dbf7ed5 Add vision model support with auto alt-text on image hover
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
2025-12-07 08:36:47 -05:00
..
auth.html Redesign user interface across all pages (#42) 2025-11-12 09:24:49 -05:00
base.html Fix light mode flash on chat page 2025-11-30 10:23:53 -05:00
browse.html Fix theme flash and add logout to profile page 2025-11-30 10:00:48 -05:00
chat.html Add vision model support with auto alt-text on image hover 2025-12-07 08:36:47 -05:00
index.html Redesign user interface across all pages (#42) 2025-11-12 09:24:49 -05:00
profile.html Fix theme flash and add logout to profile page 2025-11-30 10:00:48 -05:00
search.html Redesign user interface across all pages (#42) 2025-11-12 09:24:49 -05:00