Skip to content

[Bug]: OpenAI-compatible API does not honour tools #28825

@DavidGOrtega

Description

@DavidGOrtega

Bug Description

Hermes doesn’t seem to use declared tools when using the OpenAI-compatible API. It may not be strictly required, but it should be clear that this is not a complete endpoint replacement.

Steps to Reproduce

Add a tool using the OpenAI api format

Expected Behavior

Tools recognised and used by the model

Actual Behavior

Hermes knows nothing about the tools no matter that you declare them.

Affected Component

Tools (terminal, file ops, web, code execution, etc.)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

N/A

Operating System

MacOS 15.2

Python Version

No response

Hermes Version

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havecomp/agentCore agent loop, run_agent.py, prompt builderquestionFurther information is requestedtype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions