mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
chore(chat): disable chat attachments by default (#3562)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -91,11 +91,13 @@ export const CONSUMER_FIRST_SESSION_ENABLED =
|
||||
import.meta.env.VITE_CONSUMER_FIRST_SESSION === 'true';
|
||||
|
||||
/**
|
||||
* Chat multimodal attachments (image + supported file markers). Enabled by
|
||||
* default now that core parses `[IMAGE:…]` / `[FILE:…]` payloads and the
|
||||
* renderer runs a lossless compression pass before sending.
|
||||
* Chat multimodal attachments (image + supported file markers). Disabled by
|
||||
* default — the attach affordance is hidden and the file-picker path is gated
|
||||
* off (a bare `<textarea>` already ignores pasted/dropped files). Opt back in
|
||||
* for a build by setting `VITE_CHAT_ATTACHMENTS=true` (e.g. the e2e web build
|
||||
* in `app/scripts/e2e-web-build.sh`, which exercises the attachment specs).
|
||||
*/
|
||||
export const CHAT_ATTACHMENTS_ENABLED = import.meta.env.VITE_CHAT_ATTACHMENTS !== 'false';
|
||||
export const CHAT_ATTACHMENTS_ENABLED = import.meta.env.VITE_CHAT_ATTACHMENTS === 'true';
|
||||
|
||||
export const SKILLS_GITHUB_REPO =
|
||||
import.meta.env.VITE_SKILLS_GITHUB_REPO || 'tinyhumansai/openhuman-skills';
|
||||
|
||||
Reference in New Issue
Block a user