Introduce tests that mock external LLM responses to validate parsing logic, error handling, and fallback behavior in ai_provider.py.
Introduce tests that mock external LLM responses to validate parsing logic, error handling, and fallback behavior in ai_provider.py.