Add a toggle switch to enable/disable image uploads in the playground, with automatic disabling after message sending to prevent accidental image inclusion in subsequent messages. Changes: - Add `imageEnabled` field to default configuration with false as default - Enhance ImageUrlInput component with enable/disable toggle switch - Update UI to show disabled state with opacity and color changes - Modify message sending logic to only include images when enabled - Implement auto-disable functionality after message is sent - Update SettingsPanel to pass through new imageEnabled props - Maintain backward compatibility with existing configurations User Experience: - Images are disabled by default for privacy and intentional usage - Users must explicitly enable image uploads before adding URLs - After sending a message with images, the feature auto-disables - Clear visual feedback shows current enabled/disabled state - Manual control allows users to re-enable when needed This improves user control over multimodal conversations and prevents unintentional image sharing in follow-up messages.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| custom | Loading commit data... | |
| playground | Loading commit data... | |
| AuthRedirect.js | Loading commit data... | |
| ChannelsTable.js | Loading commit data... | |
| Footer.js | Loading commit data... | |
| HeaderBar.js | Loading commit data... | |
| LinuxDoIcon.js | Loading commit data... | |
| Loading.js | Loading commit data... | |
| LoginForm.js | Loading commit data... | |
| LogsTable.js | Loading commit data... | |
| MjLogsTable.js | Loading commit data... | |
| ModelPricing.js | Loading commit data... | |
| ModelSetting.js | Loading commit data... | |
| NoticeModal.js | Loading commit data... | |
| OAuth2Callback.js | Loading commit data... | |
| OIDCIcon.js | Loading commit data... | |
| OperationSetting.js | Loading commit data... | |
| OtherSetting.js | Loading commit data... | |
| PageLayout.js | Loading commit data... | |
| PasswordResetConfirm.js | Loading commit data... | |
| PasswordResetForm.js | Loading commit data... | |
| PersonalSetting.js | Loading commit data... | |
| PrivateRoute.js | Loading commit data... | |
| RateLimitSetting.js | Loading commit data... | |
| RedemptionsTable.js | Loading commit data... | |
| RegisterForm.js | Loading commit data... | |
| SetupCheck.js | Loading commit data... | |
| SiderBar.js | Loading commit data... | |
| SystemSetting.js | Loading commit data... | |
| TaskLogsTable.js | Loading commit data... | |
| TokensTable.js | Loading commit data... | |
| UsersTable.js | Loading commit data... | |
| WeChatIcon.js | Loading commit data... | |
| fetchTokenKeys.js | Loading commit data... | |
| utils.js | Loading commit data... |