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的api格式返回 #7

Open
colin4k opened this issue Jul 19, 2024 · 1 comment
Open

能否支持转为openai的api格式返回 #7

colin4k opened this issue Jul 19, 2024 · 1 comment

Comments

@colin4k
Copy link

colin4k commented Jul 19, 2024

No description provided.

@cg-dot
Copy link
Owner

cg-dot commented Jul 19, 2024

Thanks for the suggestion! This project is primarily focused on maintaining compatibility with Anthropic's API. No plans for OpenAI format for now, but PRs are welcome.

感谢建议,这个项目的主要目标是保持与 Anthropic API 的兼容,目前暂无支持 OpenAI 格式的计划,不过欢迎提交 PR。

MurphyLo added a commit to MurphyLo/vertexai-cf-workers that referenced this issue Aug 11, 2024
When the request header contains x-api-key, return responses in the Anthropic `/v1/messages` format. Otherwise, when the request header contains an Authorization header, return responses in the OpenAI `/v1/chat/completions` endpoint format. Mentioned in cg-dot#7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants