[GH-ISSUE #78] 参数解析错误 #65

Closed
opened 2026-02-27 07:17:46 +03:00 by kerem · 2 comments
Owner

Originally created by @WingGao on GitHub (Nov 19, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/78

ARGS="--api-key sk-wingfromhome   --xxx"

默认解析会导致第一个参数忽略

要改成

ARGS="-- --api-key sk-wingfromhome   --xxx"

就成功了

Originally created by @WingGao on GitHub (Nov 19, 2025). Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/78 ``` ARGS="--api-key sk-wingfromhome --xxx" ``` 默认解析会导致第一个参数忽略 要改成 ``` ARGS="-- --api-key sk-wingfromhome --xxx" ``` 就成功了
kerem closed this issue 2026-02-27 07:17:46 +03:00
Author
Owner

@justlovemaki commented on GitHub (Nov 19, 2025):

有ui界面了,可以不用这种参数来部署docker了
感谢反馈

<!-- gh-comment-id:3551104587 --> @justlovemaki commented on GitHub (Nov 19, 2025): 有ui界面了,可以不用这种参数来部署docker了 感谢反馈
Author
Owner

@justlovemaki commented on GitHub (Nov 19, 2025):

-e ARGS="--api-key 6544321 --host 127.0.0.1" 测试没有问题。

<!-- gh-comment-id:3551839669 --> @justlovemaki commented on GitHub (Nov 19, 2025): -e ARGS="--api-key 6544321 --host 127.0.0.1" 测试没有问题。
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#65
No description provided.