豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 85e95a6

Browse files
committed
fix: another incompatibility in JSON schema handling
1 parent 1a4eaba commit 85e95a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/memory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export const takeMemorySnapshot = defineTool({
1919
schema: {
2020
filePath: zod
2121
.string()
22-
.describe('A path to a .heapsnapshot file to save the heapsnapshot to.')
23-
.endsWith('.heapsnapshot'),
22+
.describe('A path to a .heapsnapshot file to save the heapsnapshot to.'),
2423
},
2524
handler: async (request, response, context) => {
2625
const page = context.getSelectedPage();

0 commit comments

Comments
 (0)