fix(hermes): remove upload button from modal
This commit is contained in:
parent
2048e25cd5
commit
05cfcf2b95
1 changed files with 0 additions and 9 deletions
|
|
@ -880,7 +880,6 @@ async function openHermesModalNew() {
|
|||
`;
|
||||
|
||||
const actions = [
|
||||
{ text: "📁 Upload File", action: () => document.querySelector('[data-uncloseai-file-input]')?.click() },
|
||||
{ text: "🔄 Refresh Models", action: loadModels },
|
||||
{ text: "🗑️ Clear Chat", action: async () => {
|
||||
if (confirm("Clear all conversation history?")) {
|
||||
|
|
@ -927,17 +926,9 @@ async function openHermesModalNew() {
|
|||
actionsSection.appendChild(actionsLabel);
|
||||
actionsSection.appendChild(actionsGrid);
|
||||
|
||||
// File input (hidden)
|
||||
const fileInput = document.createElement("input");
|
||||
fileInput.type = "file";
|
||||
fileInput.setAttribute("data-uncloseai-file-input", "");
|
||||
fileInput.style.display = "none";
|
||||
fileInput.onchange = window.handleFileUpload;
|
||||
|
||||
settingsPanel.appendChild(modelSection);
|
||||
settingsPanel.appendChild(voiceSection);
|
||||
settingsPanel.appendChild(actionsSection);
|
||||
settingsPanel.appendChild(fileInput);
|
||||
|
||||
// Load and save settings panel state
|
||||
let settingsOpen = localStorage.getItem('hermesSettingsOpen') === 'true';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue