Skip to content

Does not work with the current hermes web_tools backend whitelist #2

@ZombieLurker

Description

@ZombieLurker

Hermes Agent currently has a hard-coded whitelist in the web_tools.py. So _is_backend_available("kagi") returns false when trying to use this plugin and it uses the fallback search backend instead. I was already in the process of implementing kagi for web search in Hermes Agent before I came across this repo but what I came up with is basically the same as what you did. To fix this issue though I had to monkey patch the web_tools.py to add kagi to the whitelist in order for it to return true whenever the kagi api key variable is configured. Did you not run across this issue yourself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions