continue icon indicating copy to clipboard operation
continue copied to clipboard

Instruction-based tools

Open RomneyDa opened this issue 7 months ago • 3 comments

Description

  • Adds support for tools in the form of XML system message instructions and response content parsing
  • For now, this applies only to models that are NOT known to support native tools
  • All models can now be used in Agent mode
  • Tests for tool conversion and parsing
  • Adds a warning to the Agent mode dropdown that shows for any models not known to be great with tools (including models that support native tools)
image

Summary by cubic

Added support for non-native tool calls using XML parsing, allowing the app to handle tool calls from models that do not support native tool call APIs.

  • New Features

    • Parses and intercepts tool calls in XML format from assistant messages.
    • Generates system prompts and tool definitions for XML-based tool calls.
    • Includes tests for XML parsing and tool call extraction.
  • Dependencies

    • Added fast-xml-parser for XML parsing in the GUI.

RomneyDa avatar May 23 '25 03:05 RomneyDa

Deploy Preview for continuedev canceled.

Name Link
Latest commit bca33ff3c2551592eb04e837bec52a877535374c
Latest deploy log https://app.netlify.com/projects/continuedev/deploys/6845279892ea0c0008e48fd5

netlify[bot] avatar May 23 '25 03:05 netlify[bot]

⚠️ Only 5 files will be analyzed due to processing limits.

recurseml[bot] avatar Jun 13 '25 21:06 recurseml[bot]

✨ No issues found! Your code is sparkling clean! ✨

recurseml[bot] avatar Jun 13 '25 21:06 recurseml[bot]

closing, will reopen this week

RomneyDa avatar Jun 24 '25 21:06 RomneyDa