Tencent / Tencent/WeSmartFlow

Image generation should have a clear disabled state

Open Beginner friendly
#62 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

如果没有配置 IMG_API_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 image-generation button and the checks for IMG_API_KEY or the configured image model. Make the unavailable state visibly indicate that image generation is not configured and ensure it cannot be used when configuration is missing. Verify the configured case still works and the unconfigured case no longer fails only after clicking.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.