Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.
/ curxy Public archive

Commit 190bc19

Browse files
committed
fix: use custom for parse type
1 parent 9b8819a commit 190bc19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ const OPENAI_API_KEY = Deno.env.get("OPENAI_API_KEY");
1515
const command = define({
1616
args: {
1717
endpoint: {
18-
type: "string",
18+
type: "custom",
1919
alias: "e",
2020
default: "http://localhost:11434",
2121
description: "The endpoint to Ollama server.",
2222
parse: validateURL,
2323
},
2424
openaiEndpoint: {
25-
type: "string",
25+
type: "custom",
2626
alias: "o",
2727
default: "https://api.openai.com",
2828
description: "The endpoint to OpenAI server.",

0 commit comments

Comments
 (0)