Skip to content

fix: return the concat content for array type of function response.#24

Open
BingqingLyu wants to merge 1 commit into
mainfrom
fork-pr-544-pr-functionResponseArray
Open

fix: return the concat content for array type of function response.#24
BingqingLyu wants to merge 1 commit into
mainfrom
fork-pr-544-pr-functionResponseArray

Conversation

@BingqingLyu

@BingqingLyu BingqingLyu commented Apr 27, 2026

Copy link
Copy Markdown
Owner

The functionResponse should contain the content of the function response, not the generic message for default/unhandled case.

This change fixes commonly used tools like ReadManyFiles, making them correctly return the file contents to LLM.

TLDR

This change fixes commonly used tools like ReadManyFiles, making them correctly return the file contents to LLM.

Reviewer Test Plan

The difference before/after the change can be directly verified by

  • open qwen-code in a directory containing some files.
  • Write instructions like "read @file1 and @FILE2 to understand them".
  • Catch and view the tool request to the server.

Testing Matrix

🍏 🪟 🐧
npm run 👍
npx 👍
Docker
Podman - -
Seatbelt - -

The functionResponse should contain the content of the function response, not the generic message for default/unhandled case.

This change fixes commonly used tools like ReadManyFiles, making them correctly return the file contents to LLM.
@BingqingLyu BingqingLyu added conflicting-group-1 conflicting-group-1 Conflicting PR group 1 — review as a batch conflicting-pr Shares at least one cross-PR dependency with other PRs and removed conflicting-group-1 labels May 7, 2026
@BingqingLyu

BingqingLyu commented May 7, 2026

Copy link
Copy Markdown
Owner Author

Conflict Group 1

This PR shares modified functions with 1 other PR(s): #96.

These PRs should be reviewed as a batch — merging one may affect the others.

Function File Also modified by
toParts coreToolScheduler.ts #96
graph LR
    PR24["PR #24"]
    FtoParts_1638["toParts<br>coreToolScheduler.ts"]
    PR24 -->|modifies| FtoParts_1638
    PR96["PR #96"]
    PR96 -->|modifies| FtoParts_1638
Loading

Posted by codegraph-ai conflict detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicting-group-1 Conflicting PR group 1 — review as a batch conflicting-pr Shares at least one cross-PR dependency with other PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants