Tencent / Tencent/WeSmartFlow

希望模型调用失败时,不要只显示“生成失败”

Open
#22 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.1k
Forks
8
PR merge metrics
No merged PRs in 30d

Description

LLM 调用失败可能是额度、超时、鉴权、模型不存在、网关返回格式异常。前端能把这些区分开,用户就知道该改 key、换模型,还是稍后重试。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the frontend handling for failed LLM calls and trace how errors from the model request are currently converted into the “generation failed” message. Identify how quota, timeout, authentication, missing-model, and gateway-format failures can be distinguished. Done means the frontend presents actionable differences, such as changing a key, choosing another model, or retrying later; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.