mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 13:18:10 +00:00
- Extract `_strip_jsonc` as the single shared helper in `create_agent.py`, replacing the three duplicate implementations in `agent_tui.py`, `benchmark.py`, and the inline regex in `cli.py::_read_config`. - Apply `_strip_jsonc` (including trailing-comma removal) inside `_read_config` so JSONC config.json files are parsed correctly. - Add `if progress is not None:` guard inside `_make_progress_cb._cb` to prevent a `NoneType` call when running in verbose mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>