- Replaced potentially unsafe or missing tool call parsing logic with `ast.literal_eval` in `cli/main.py`. - Created a new `parse_tool_call` helper to handle fallback parsing for LLM tool calls formatted as strings. - Added comprehensive unit tests in `tests/unit/test_cli_main_tools.py` verifying behavior for valid strings, `ValueError`, `SyntaxError`, dicts, and objects. Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cassettes | ||
| e2e | ||
| integration | ||
| portfolio | ||
| unit | ||
| __init__.py | ||
| conftest.py | ||