fix: normalize indicator names to lowercase (#490)
This commit is contained in:
parent
7269f877c1
commit
78fb66aed1
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue