feat: merge reply emotions while preserving configurable Qwen/Doubao provider

This commit is contained in:
zenord
2026-10-12 10:57:14 +08:00
parent 19a7adccd9
commit d43c7d4e80
36 changed files with 1264 additions and 98 deletions
+2
View File
@@ -64,6 +64,8 @@ def scan(name, data):
for pattern in patterns:
for match in re.finditer(pattern,text):
if match.lastindex and match.group(1).startswith('REPLACE_'): continue
# A fixed reserved-domain negative fixture tests rejecting URL credentials.
if name.endswith('tests/test_llm_provider.py') and match.group(0)=='http://user:password@' and text[match.end():].startswith('example.com/v1'): continue
raise RuntimeError(f'Possible embedded secret in {name}; inspect locally before any Git add')