Skip to content

Commit 24daf63

Browse files
把 .meta() 调用删掉
1 parent 10498f9 commit 24daf63

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ export const configSchema = z.object({
1818
.describe(
1919
"Your MinerU API Key (obtain from https://mineru.net/apiManage/token). " +
2020
"Can also be set via MINERU_API_KEY environment variable."
21-
)
22-
// Smithery: use header for secrets; default query is ?mineruApiKey=xxx
23-
.meta({ "x-from": { header: "x-mineru-api-key" } }),
21+
),
2422
});
2523

2624
/** Smithery CLI: false = stateless (no session state between requests) */

0 commit comments

Comments
 (0)