We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例行检查
问题描述
在局域网服务器上运行了ollama的serve,在one-api中添加ollama的渠道,渠道类型选择 Ollama,渠道地址设置为服务器的IP地址和ollama serve暴露的端口(OLLAMA_HOST环境变量的值), 使用Postman先测试 ollama serve 的 /api/generate 和 /v1/chat/completions ,功能均验证正常。 使用Postman测试one-api的/api/generate 和 /v1/chat/completions ,/v1/chat/completions功能正常,/api/generate,返回:
{ "error": { "code": "", "message": "Invalid URL (POST /api/generate)", "type": "invalid_request_error" } }
是 one-api 目前还不支持 ollama 的 /api/generate 这个接口吗? 复现步骤
预期结果
相关截图
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例行检查
问题描述
在局域网服务器上运行了ollama的serve,在one-api中添加ollama的渠道,渠道类型选择 Ollama,渠道地址设置为服务器的IP地址和ollama serve暴露的端口(OLLAMA_HOST环境变量的值),
使用Postman先测试 ollama serve 的 /api/generate 和 /v1/chat/completions ,功能均验证正常。
使用Postman测试one-api的/api/generate 和 /v1/chat/completions ,/v1/chat/completions功能正常,/api/generate,返回:
是 one-api 目前还不支持 ollama 的 /api/generate 这个接口吗?
复现步骤
预期结果
相关截图
The text was updated successfully, but these errors were encountered: