Skip to content

Wrong example in the prompt #4207

@avtc

Description

@avtc

App Version

3.19.1

API Provider

Not Applicable / Other

Model Used

N/A

🔁 Steps to Reproduce

Left side is Code mode prompt from 3.18.4, right side 3.19.1
Image

The text representation:
in 3.18.4:

For example, to use the read_file tool:

<read_file>
<path>src/main.js</path>
</read_file>

in 3.19.1:

For example, to use the read_file tool:

<new_task>
<mode>code</mode>
<message>Implement a new feature for the application.</message>
</new_task>

In 3.19.1 read_file accepts new format, probably issue arise from that:

3. Reading an entire file:
<read_file>
<args>
  <file>
    <path>config.json</path>
  </file>
</args>
</read_file>

💥 Outcome Summary

Wrong tool use example in the system prompt, telling the example is for read_file but example is for new_task.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions