Skip to content

new api openrouter embedding model 无响应 #201

@irrikrlla

Description

@irrikrlla

再三检查,一切配置正常
渠道1的openrouter 是 liaobots, 但liaobots本身没有gemini-embedding-001
在渠道3的openrouter(真openrouter) 中配置了 google/gemini-embedding-001,同时添加whitelist

Image Image

new-api 内测试通过

Image

但是 vcptoolbox 无法访问google/gemini-embedding-001,并报错

中间层服务器正在监听端口 6005
API 服务器地址: http://127.0.0.1:3000
[FileFetcherServer] Cache directory ensured at: D:\envs\VCP\VCPToolBox.file_cache
[FileFetcherServer] Initialized and linked with WebSocketServer.
[TaskScheduler] 未发现待处理的定时任务。调度器将保持待命。
[PluginManager] Static plugin WeatherReporter exited with code 1. Stderr: [WeatherReporter] Fetching city info for: YOUR_CITY_SUCH_AS_Beijing
[WeatherReporter] Error fetching city info: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CITY_SUCH_AS_Beijing&key=YOUR_QWEATHER_KEY_SUCH_AS_xxxxxxxxxxxxxxxxxxxxxxxx failed, reason: Client network socket disconnected before secure TLS connection was established
[WeatherReporter] Failed to get city info: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CITY_SUCH_AS_Beijing&key=YOUR_QWEATHER_KEY_SUCH_AS_xxxxxxxxxxxxxxxxxxxxxxxx failed, reason: Client network socket disconnected before secure TLS connection was established
[WeatherReporter] [天气API请求失败且无可用缓存: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CI]
[PluginManager] Error executing static plugin WeatherReporter script: Static plugin WeatherReporter exited with code 1. Stderr: [WeatherReporter] Fetching city info for: YOUR_CITY_SUCH_AS_Beijing
[WeatherReporter] Error fetching city info: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CITY_SUCH_AS_Beijing&key=YOUR_QWEATHER_KEY_SUCH_AS_xxxxxxxxxxxxxxxxxxxxxxxx failed, reason: Client network socket disconnected before secure TLS connection was established
[WeatherReporter] Failed to get city info: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CITY_SUCH_AS_Beijing&key=YOUR_QWEATHER_KEY_SUCH_AS_xxxxxxxxxxxxxxxxxxxxxxxx failed, reason: Client network socket disconnected before secure TLS connection was established
[WeatherReporter] [天气API请求失败且无可用缓存: request to https://your_qweather_url_such_as_devapi.qweather.com/geo/v2/city/lookup?location=YOUR_CI]
[PluginManager] Python scientific libraries pre-warmed successfully.
[KnowledgeBase] 🚌 Processing 39 files...
[Embedding] Prepared 6 batches. Executing with concurrency: 5...
[Embedding] API Error for Batch 4:
Error Code: 404
Error Message: No successful provider responses.
Hint: Check if embedding model "google/gemini-embedding-001" is available on your API server

非常奇怪,请问该如何解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions