Skip to content

GPT 调用失败无重试机制 #125

@Sun-sunshine06

Description

@Sun-sunshine06

问题描述

使用 CPA 中的 GPT 模型时,调用失败直接报错,没有重试机制。用户需要手动重新发送消息。

复现步骤

  1. 配置使用 CPA 中的 GPT 模型
  2. 发送消息触发 API 调用
  3. 调用失败后直接报错,无自动重试

期望行为

调用失败时应提供自动重试机制(如指数退避重试 2-3 次),并在所有重试失败后给出友好的错误提示,允许用户一键重试。

Metadata

Metadata

Assignees

Labels

area:providerspackages/providers (pi-ai adapter, model calls)enhancementNew feature or requesttriageAwaiting maintainer review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions