hermes - ✅(Solved) Fix [Bug]: [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#55049Fetched 2026-04-01 15:55:52
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

PR fix notes

PR #62392: fix(ui): accept dropped images with missing mime types

Description (problem / solution / changelog)

Summary

Drag/drop image attachments in the Control UI currently rely on the browser providing a populated file MIME type. In some drag/drop flows that comes through empty, so the image gets silently ignored even though the drop is accepted.

This updates the attachment path to fall back to common image file extensions when the MIME type is missing, and adds focused test coverage for that case.

Testing

  • This PR fixes a bug or regression
  • corepack pnpm exec vitest run ui/src/ui/chat/attachment-support.test.ts --config vitest.unit.config.ts

Closes #62371

Changed files

  • ui/src/ui/chat/attachment-support.test.ts (added, +36/-0)
  • ui/src/ui/chat/attachment-support.ts (modified, +30/-0)
  • ui/src/ui/views/chat.ts (modified, +7/-5)

Code Example

__\hermes__> iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)


+---------------------------------------------------------+
|             * Hermes Agent Installer                    |
+---------------------------------------------------------+
|  An open source AI agent by Nous Research.              |
+---------------------------------------------------------+

-> Checking for uv package manager...
**[OK] uv found (uv 0.11.17 (a33a629d6 2026-05-28 x86_64-pc-windows-msvc))**
-> Checking Python 3.11...

---

n/a

---
RAW_BUFFERClick to expand / collapse

Bug Description

I run the PowerShell install on Windows but it hangs on "Checking Python 3.11". I have Python 3.12. Output below:

__\hermes__> iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)


+---------------------------------------------------------+
|             * Hermes Agent Installer                    |
+---------------------------------------------------------+
|  An open source AI agent by Nous Research.              |
+---------------------------------------------------------+

-> Checking for uv package manager...
**[OK] uv found (uv 0.11.17 (a33a629d6 2026-05-28 x86_64-pc-windows-msvc))**
-> Checking Python 3.11...

Steps to Reproduce

see above

Expected Behavior

see above

Actual Behavior

see above

Affected Component

Other, Setup / Installation

Messaging Platform (if gateway-related)

No response

Debug Report

n/a

Operating System

Win 11

Python Version

3.12

Hermes Version

latest

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

extent analysis

Fix Plan

To resolve the issue of missing models, such as o4-mini from OpenAI, when integrating OpenRouter with LiteLLM, we need to update the model listing configuration.

Steps:

  1. Update Model Configuration: Ensure that the o4-mini model is included in the model configuration file used by LiteLLM.
  2. Modify Wildcard Configuration: Adjust the wildcard configuration to include the o4-mini model.
  3. Refresh Model List: Refresh the model list in the connected UI (e.g., OpenWebUI) to reflect the changes.

Example Code Snippet:

# Update model configuration to include o4-mini
models = [
    # ... existing models ...
    {"name": "o4-mini", "source": "openai"},
    # ... other models ...
]

# Modify wildcard configuration
wildcard_models = ["*"]  # Include all models

# Refresh model list in UI
def refresh_model_list():
    # Assuming a function to update the model list in the UI
    update_model_list(models)

Verification

To verify that the fix worked:

  • Check the model list in the connected UI (e.g., OpenWebUI) for the presence of the o4-mini model.
  • Test the integration by selecting the o4-mini model and ensuring it functions as expected.

Extra Tips

  • Regularly review and update the model configuration to ensure all desired models are included.
  • Consider automating the model configuration update process to minimize manual intervention.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: [1 pull requests, 1 participants]