Add user profile page with custom avatar upload (crop/resize to 256px), avatar display throughout the app, and MD5-based Gravatar fallback. Add image paste/attach support in chat with vision model detection via OpenRouter API. Images can be pasted from clipboard or selected via file picker, uploaded to the server, and sent alongside messages. The AI receives images as base64 data URLs for multimodal models. Models with vision support are indicated with a badge in the model picker. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 lines
112 B
SQL
3 lines
112 B
SQL
-- Add avatar_url column to users table for custom avatar uploads
|
|
ALTER TABLE users ADD COLUMN avatar_url TEXT;
|