qwen-code/packages
zhangxy-zju d14ce16b95
fix(core): treat empty 'pages' parameter as unset in ReadFile (#3559)
params.pages !== undefined let "" fall through to parsePDFPageRange(''),
which returns null and surfaced "Invalid pages parameter: ''" for every
read_file call from models that default optional strings to "".

Switch to a truthy check so "" behaves the same as an omitted field, and
add a regression test.

Fixes #3558
2026-04-23 20:02:05 +08:00
..
channels chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
cli chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
core fix(core): treat empty 'pages' parameter as unset in ReadFile (#3559) 2026-04-23 20:02:05 +08:00
sdk-java Fix typo in class name (#2189) 2026-04-18 11:59:36 +08:00
sdk-typescript fix(sdk): settle pending next() promise in Stream.return() to prevent hangs (#2981) 2026-04-18 09:46:56 +08:00
vscode-ide-companion chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
web-templates chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
webui chore: bump version to 0.15.1 (#3541) 2026-04-23 11:06:07 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00