登录是成功的但是问问题时出现401是啥原因呢?
Opened this issue · 3 comments
anyi123456 commented
login succeed!
now you can try chaty run web/node/command/etc...
[root@ecs-d687 ~]# chaty run command
run command-line bot service...
please input your question: hello
hello
Request failed with status code 401
please input your question: where are you
cosin2077 commented
login succeed!
now you can try chaty run web/node/command/etc... [root@ecs-d687 ~]# chaty run command run command-line bot service... please input your question: hello hello Request failed with status code 401 please input your question: where are you
请检查下你的api key 是否输入正确,是否还有效
anyi123456 commented
正确的 因为登录 出现 login succeed 了的
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月16日(星期天) 上午9:30
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [cosin2077/chaty] 登录是成功的但是问问题时出现401是啥原因呢? (Issue #28)
login succeed!
now you can try chaty run web/node/command/etc... ***@***.*** ~]# chaty run command run command-line bot service... please input your question: hello hello Request failed with status code 401 please input your question: where are you
请检查下你的api key 是否输入正确,是否还有效
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
cosin2077 commented
目前login的succeed只是简单的提示你输入了key,并没有发起真正的请求去验证key是否是正确的(因为有些网络无法访问openai),这点需要用户保证