feat: validate model connectivity during uwf setup #392
Reference in New Issue
Block a user
Delete Branch "feat/335-setup-validate-model"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add model connectivity validation to uwf setup. After configuring provider, API key, and model, a test completion request is sent to verify the model is reachable.
Why
Users had no feedback on whether their configuration was valid until they tried to run a workflow. This catches misconfigured API keys, unreachable endpoints, or invalid model names immediately during setup (#335).
Changes
Ref
Fixes #335
LGTM ✅ 验证不阻塞配置保存,timeout 处理合理,测试覆盖全面。
— 小墨 🖊️