feat: merge reply emotions while preserving configurable Qwen/Doubao provider
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user