github / github/app

External model provider fails in Chat mode with CAPIError 404

未关闭
#1,471 8 条评论 3 个 reaction 已指派 1 人 已被 @Davsterl 认领 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Using an external/custom model provider in Chat mode (not Projects mode) fails with a CAPIError: 404 response.

### Affected version or release

v1.0.10

### Installation context

The app is installed locally. The issue occurs when using Chat mode with an external/custom model provider configured.

### What happened?

When I use an alternative model provider and open a normal Chat session (outside of Projects mode), the request fails.

The same provider configuration may work in other contexts, but Chat mode returns an API error instead of sending the request to the configured provider.

### Steps to reproduce

- Open GitHub Copilot Desktop.
- Configure an external/custom model provider.
- Select the external provider as the active model.
- Open Chat mode (not Projects mode).
- Send a message.
- Observe that the request fails with a CAPI 404 error.

### Expected behavior

The Chat mode should use the configured external model provider and successfully send requests through that provider.

### Actual behavior

The request fails with:

- Execution failed: CAPIError: 404 404 status code (no body)
-
- The external model provider does not respond successfully in Chat mode.

### Additional context

Screenshot attached showing the error:

Image

This appears to be related to external provider routing in Chat mode, where the request may still be going through Copilot's API layer instead of the configured provider endpoint.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。