openai-proxy
openai-proxy copied to clipboard
openai-proxy is a solution provided for Chinese users to address the issue of being unable to make requests to the OpenAI API.
### 能告诉我发生了什么么?What happened? 之前运行docker可以正常运行,突然今天运行不了,启动时卡住不动,怎么解决呢? ``` docker logs -f openai-proxy - ready started server on [::]:3000, url: http://localhost:3000 ```
### 你的困惑是什么 时间2023.10.15--使用正确的org_uuid和sessionKey,接口提示如下: error: { type: 'permission_error', message: 'We are unable to serve your request' } } ### 你有做过哪些尝试 重新登录页面、刷新页面换sessionKey都不行 ### 你希望我怎么帮你 是否Claude网页接口已经被改了? 作者大佬今天还能用吗?
docker成功运行起来了,服务器直接访问curl http://localhost:3000 可以返回 https://github.com/UNICKCHENG/openai-proxy 使用示例请求 /claude/organizationorganization_id_id>/chat_conversations 提示Response code 500 错误信息如下: error TypeError: Value is not JSON serializable at serializeJavascriptValueToJSONString (/app/node_modules/next/dist/compiled/undici/index.js:2:64731) at Function.json (/app/node_modules/next/dist/compiled/undici/index.js:2:52377) at Function.json (/app/.next/server/chunks/335.js:95:35) at POST (/app/.next/server/app/api/claude/organizations/[org_id]/chat_conversations/route.js:91:45) at...
### 能告诉我发生了什么么?What happened? 之前在vercel部署代理后在next web可以正常使用claude,最近无法收到回复了,提示Unexpected end of JSON input
举个爪:
### 你的困惑是什么 在使用chatGPT next web 使用calude时遇到了跨域的问题,想请问一下在项目中可以设置允许跨域吗 ### 你有做过哪些尝试 一开始想用nginx反向代理,但是chatGPT next web是在vercel上的,而本项目是在服务器上 ### 你希望我怎么帮你 可以设置允许跨域吗
Claude 单个免费账号会存在消息条数限制,具体多少条,我没有测试过,建议**不要深度使用**当前方案下的 Claude 接口 你仍然可以选择其他的替代方案: - 如果你有开发背景或者感兴趣,可以尝试创建多个 Claude 账号来搭建账号池 - 借助第三方 API 来使用 Cluade,如 [dify.ai](https://docs.dify.ai/application/developing-with-apis) - [申请 Claude 官方 API](https://www.anthropic.com/earlyaccess),而不是通过网页或者 Slack 进行反代 
### 能告诉我发生了什么么?What happened? 最近引入的 [email protected] 库是 GPL3 协议,该协议会污染上层代码,而本仓库是 MIT 授权,建议成其他库。
### 你的困惑是什么  我使用Claude,内容是直接返回的,不是流式输出, 我记的之前是支持流式输出的,是需要改什么配置吗 ### 你有做过哪些尝试 配置,stream:true 也不管用 ### 你希望我怎么帮你 如何配置成流式输出
   博主好,我试用了下新的claude接口, 提交后,在claude的主网页是有相关信息的,但是相关回复response 没有反馈到程序端来,程序端的output报错 _Originally posted by @howie-cn in https://github.com/UNICKCHENG/openai-proxy/issues/57#issuecomment-1685990265_
### 你的困惑是什么 和claude 一样,需要一个民间接口来调用并调试llama2~ https://catalog.ngc.nvidia.com/orgs/nvidia/teams/playground/models/llama2 ### 你有做过哪些尝试 新功能 ### 你希望我怎么帮你 新功能