feat: 调整 AI 规格解析等待时间 (#286)
This commit is contained in:
@@ -15,7 +15,8 @@ func TestAIConfigTemplate_密钥不回显且表单语义完整(t *testing.T) {
|
||||
for _, want := range []string{
|
||||
`action="/settings/ai/save"`, `action="/settings/ai/secret"`,
|
||||
`action="/settings/ai/test"`, `action="/settings/ai/enable"`,
|
||||
`type="password"`, `autocomplete="new-password"`, "连接测试", "置信度%",
|
||||
`type="password"`, `autocomplete="new-password"`, `name="timeout_seconds"`,
|
||||
`min="1" max="120" value="66"`, "连接测试", "置信度%",
|
||||
} {
|
||||
if !strings.Contains(source, want) {
|
||||
t.Errorf("AI 配置模板缺少 %q", want)
|
||||
|
||||
Reference in New Issue
Block a user