tool-call-salvage.yaml 1.3 KB

12345678910111213141516171819202122232425
  1. name: tool-call-salvage
  2. repo: https://github.com/Julientalbot/hermes-tool-call-salvage
  3. sha: 2d0ad4fba66499659179ac9932ec0c6d2c70b744
  4. version: "0.1.0"
  5. title: Tool Call Salvage
  6. description: >-
  7. Removes tool-call markup that a model wrote into its final reply as text instead of calling
  8. the tool (Qwen <function=...>, <invoke>, DeepSeek DSML and tool tokens, Harmony, Kimi, Mistral
  9. and Llama formats). Only complete markup that ends the reply is touched; code blocks and
  10. markup followed by more text are left as they are. An optional salvage mode, off by default
  11. and limited to the models you list, turns the markup into a real call to a tool offered in
  12. that request. Disclosure: no network, files, shell, subprocesses, telemetry or stored state;
  13. logs name the format and tools, never arguments; in salvage mode text the model wrote can
  14. become a real tool call (tools offered in the request, or Hermes's tool_call bridge when
  15. deferred_tools is on), run through Hermes's normal approvals.
  16. maintainer: Julientalbot
  17. tier: community
  18. category: models
  19. requires_hermes: ">=0.21.0"
  20. docs_url: https://github.com/Julientalbot/hermes-tool-call-salvage/blob/2d0ad4fba66499659179ac9932ec0c6d2c70b744/README.md
  21. capabilities:
  22. provides_tools: []
  23. provides_hooks: [transform_llm_output]
  24. provides_middleware: [llm_execution]
  25. requires_env: []