-
Notifications
You must be signed in to change notification settings - Fork 10
set VLM toggle default to off #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| import{r,T as e}from"./index-Rlfiitbv.js";const o=()=>{const t=r.useContext(e);if(t===void 0)throw new Error("useAdmin must be used within an AdminProvider");return t};export{o as u}; | ||
| import{r,T as e}from"./index-CcfIBRoF.js";const o=()=>{const t=r.useContext(e);if(t===void 0)throw new Error("useAdmin must be used within an AdminProvider");return t};export{o as u}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new default sets
isManualModeto true, so the UI now shows the VLM toggle off by default. However, the multi-image upload path still always appendsmodel_namefromselectedVlmModelbefore posting to/api/images/multi, so the backend will invoke a VLM even when the toggle is off. Users uploading multiple files without re-enabling the toggle will unexpectedly get AI-generated captions instead of staying in manual mode. Consider skipping themodel_namefor multi uploads when manual mode is selected so the default matches behavior.Useful? React with 👍 / 👎.