Skip to content

[Feature] v0.7.0 不支持本地AI的http模型吗?:AI API key transmitted over http: (not HTTPS). Consider using HTTPS for security. #244

Description

@mvpzhangkai

场景描述

当AI配置里配置本地http的模型接口时,后台日志报错:
github-stars-manager-backend | [proxy.ai] AI API key transmitted over http: (not HTTPS). Consider using HTTPS for security.
github-stars-manager-backend | [proxy.error] Proxy request failed {
github-stars-manager-backend | name: 'Error',
github-stars-manager-backend | message: "Blocked proxy request: private IP '10.10.16.13' is not allowed",
github-stars-manager-backend | stack: "Error: Blocked proxy request: private IP '10.10.16.13' is not allowed\n" +
github-stars-manager-backend | ' at validateUrl (file:///app/dist/services/proxyService.js:24:15)\n' +
github-stars-manager-backend | ' at proxyRequest (file:///app/dist/services/proxyService.js:34:9)\n' +
github-stars-manager-backend | ' at file:///app/dist/routes/proxy.js:267:30\n' +
github-stars-manager-backend | ' at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n' +
github-stars-manager-backend | ' at next (/app/node_modules/express/lib/router/route.js:149:13)\n' +
github-stars-manager-backend | ' at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n' +
github-stars-manager-backend | ' at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n' +
github-stars-manager-backend | ' at /app/node_modules/express/lib/router/index.js:284:15\n' +
github-stars-manager-backend | ' at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n' +
github-stars-manager-backend | ' at next (/app/node_modules/express/lib/router/index.js:280:10)'
github-stars-manager-backend | }

建议解决方案

建议去掉强制使用https的模型接口的限制。

附加说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions