> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/common-issues.md).

# Duaer 里 OpenAI Chat Model 的常见问题

Duaer 里 OpenAI Chat Model 的常见问题：需要 Responses API、额度不足、请求过多、表达式取值。
## 表达式只取第一条数据 <a href="#processing-parameters" id="processing-parameters"></a>

OpenAI Chat Model 是子节点。普通节点对每条输入分别计算表达式；Duaer 调用子节点时只用第一条输入。输入五个名字时，{{ $json.name }} 始终是第一个名字。

要让每条数据用不同的值，把表达式写在根节点里（例如 AI Agent 的 Prompt），或在前面用 Loop Over Items 一次处理一条。

## This model requires the Responses API <a href="#this-model-requires-the-responses-api" id="this-model-requires-the-responses-api"></a>

所选模型只支持 Responses API。打开 [Use Responses API](/zh/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai.md#use-responses-api)，或换一个支持 Chat Completions 的模型。

## Insufficient quota detected <a href="#insufficient-quota" id="insufficient-quota"></a>

OpenAI 账户没有余额，或超出了用量上限。Duaer 的 OpenAI Chat Model 收到 insufficient_quota 时显示这条。在 [OpenAI 控制台](https://platform.openai.com/settings/organization/billing/overview)：

1. 左上角先选对 API 密钥所属的组织和项目。
2. 在组织的 Billing 里确认有余额。刚充值的余额可能要过一会儿才生效。
3. 在组织的 Limits 和项目的 Limits 里确认没有超出用量上限。

回到 Duaer，确认 OpenAI 凭证用的是充了值的那个账户的密钥，节点选的也是这个凭证。充值后仍报错，可以新建一个密钥再试。

## OpenAI: Rate limit reached <a href="#the-service-is-receiving-too-many-requests-from-you" id="the-service-is-receiving-too-many-requests-from-you"></a>

短时间内请求太多，OpenAI 返回 429。

Duaer 会按 Options → Max Retries（默认 2）自动重试。仍然超限时，在根节点的 Batch Processing 里调小 Batch Size、加大 Delay Between Batches。

## Bad request - please check your parameters <a href="#bad-request-please-check-your-parameters" id="bad-request-please-check-your-parameters"></a>

OpenAI 拒绝了请求，Duaer 又读不出具体原因。先核对模型名和参数；再用 [HTTP Request](/zh/integrations/builtin/core-nodes/duaer-nodes-base.httprequest.md) 带同一个凭证发同样的请求，能看到 OpenAI 原始的报错。
## Questions

### Duaer 的 OpenAI Chat Model 报 Rate limit reached 怎么办？

Duaer 的 OpenAI Chat Model 会按 Max Retries 自动重试；仍超限就在根节点调小 Batch Size、加大 Delay Between Batches。

