When the LLM agent requests an indicator that isn't supported (e.g. 'agt'), the function was raising a ValueError which crashed the Market Analyst. Now it returns an error string that tells the agent which indicators are available, allowing it to self-correct and retry with a valid indicator. Applied to both yfinance and alpha_vantage indicator functions. Fixes #429 |
||
|---|---|---|
| .. | ||
| agents | ||
| dataflows | ||
| graph | ||
| llm_clients | ||
| __init__.py | ||
| default_config.py | ||