fix: normalize indicator names to lowercase (#490)

This commit is contained in:
Yijia-Xiao 2026-04-04 07:23:31 +00:00
parent 7269f877c1
commit 78fb66aed1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def get_indicators(
""" """
# LLMs sometimes pass multiple indicators as a comma-separated string; # LLMs sometimes pass multiple indicators as a comma-separated string;
# split and process each individually. # split and process each individually.
indicators = [i.strip() for i in indicator.split(",") if i.strip()] indicators = [i.strip().lower() for i in indicator.split(",") if i.strip()]
results = [] results = []
for ind in indicators: for ind in indicators:
try: try: