Skip to content

[bug] 第三方AI模型如果是用的是NVIDIA NIM的话,获取不到模型列表,输入正确模型名称也不行。 #974

@qing-song-xu

Description

@qing-song-xu

详细描述这个 Bug

同样的NVIDIA NIM配置方式在OpenClaw上是可以成功的。

NoteGen 版本

0.26.4

操作系统

Windows

报错日志

Access to fetch at 'https://integrate.api.nvidia.com/v1/chat/completions' from origin 'http://tauri.localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
integrate.api.nvidia.com/v1/chat/completions:1 Failed to load resource: net::ERR_FAILED
ai:1 Access to fetch at 'https://integrate.api.nvidia.com/v1/chat/completions' from origin 'http://tauri.localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
integrate.api.nvidia.com/v1/chat/completions:1 Failed to load resource: net::ERR_FAILED
ai:1 Access to fetch at 'https://integrate.api.nvidia.com/v1/chat/completions' from origin 'http://tauri.localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
integrate.api.nvidia.com/v1/chat/completions:1 Failed to load resource: net::ERR_FAILED

怀疑是访问https://integrate.api.nvidia.com/v1/chat/completions路径不对,不确定Nvida的模型名访问路径。

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