Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 反馈问题:用openai出现 Request failed: method not allowed (405) #258

Closed
3 of 4 tasks
jiangaq opened this issue Dec 10, 2023 · 4 comments
Closed
3 of 4 tasks
Labels
bug Something isn't working need more info

Comments

@jiangaq
Copy link

jiangaq commented Dec 10, 2023

请先确认以下事项:

  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本

问题描述

已经设置了自定义域名和key了
用bob就没出错

重现步骤

`

截图

`

期望结果

`

解决方案(可选)

No response

设备型号 && 系统版本

macos 13.6.1

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR
@jiangaq jiangaq added the bug Something isn't working label Dec 10, 2023
@Jerry23011 Jerry23011 changed the title 用openai出现 Request failed: method not allowed (405) 🐞 反馈问题:用openai出现 Request failed: method not allowed (405) Dec 11, 2023
@tisfeng
Copy link
Owner

tisfeng commented Dec 17, 2023

能整点详细的信息吗?每次看到这种没头没脑的 issue 就头大。

先确定设置步骤有没有问题,再确定 key 有没有问题,最后请提供详细的测试报错信息。

设置了自定义域名和key

@jiangaq
Copy link
Author

jiangaq commented Dec 17, 2023

CleanShot 2023-12-17 at 14 21 43@2x key设置的对吗?

@tisfeng
Copy link
Owner

tisfeng commented Dec 17, 2023

注意,EZOpenAIEndPointKey 这个值需要完整的请求 URL,例如 OpenAI 官方接口应该是 https://api.openai.com/v1/chat/completions

@tisfeng
Copy link
Owner

tisfeng commented Dec 18, 2023

这个还有问题吗,没问题我就关了。

@tisfeng tisfeng closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info
Projects
None yet
Development

No branches or pull requests

2 participants