/home/ubuntu/agent-tool-testing/src/toolfuzz/agent_executors/langchain/react_old.py:14: LangChainDeprecationWarning: LangChain agents will continue to be supported, but it is recommended for new use cases to be built with LangGraph. LangGraph offers a more flexible and full-featured framework for building agents, including support for tool-calling, persistence of state, and human-in-the-loop workflows. For details, refer to the `LangGraph documentation <https://langchain-ai.github.io/langgraph/>`_ as well as guides for `Migrating from AgentExecutor <https://python.langchain.com/docs/how_to/migrate_agent/>`_ and LangGraph's `Pre-built ReAct agent <https://langchain-ai.github.io/langgraph/how-tos/create-react-agent/>`_.
  agent = initialize_agent(tools, model, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True,

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:05,  1.60it/s]
Testing prompts:  20%|██        | 2/10 [00:01<00:07,  1.03it/s]
Testing prompts:  30%|███       | 3/10 [00:03<00:07,  1.09s/it]
Testing prompts:  40%|████      | 4/10 [00:04<00:06,  1.09s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  50%|█████     | 5/10 [00:08<00:10,  2.17s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(
/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  60%|██████    | 6/10 [00:12<00:11,  2.83s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  70%|███████   | 7/10 [00:15<00:08,  2.82s/it]
Testing prompts:  80%|████████  | 8/10 [00:16<00:04,  2.45s/it]
Testing prompts:  90%|█████████ | 9/10 [00:18<00:02,  2.26s/it]
Testing prompts: 100%|██████████| 10/10 [00:19<00:00,  1.83s/it]
Testing prompts: 100%|██████████| 10/10 [00:19<00:00,  1.95s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:05,  1.51it/s]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  20%|██        | 2/10 [00:02<00:09,  1.24s/it]
Testing prompts:  30%|███       | 3/10 [00:04<00:12,  1.75s/it]
Testing prompts:  40%|████      | 4/10 [00:06<00:11,  1.97s/it]
Testing prompts:  50%|█████     | 5/10 [00:08<00:09,  1.84s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  60%|██████    | 6/10 [00:53<01:06, 16.55s/it]
Testing prompts:  70%|███████   | 7/10 [00:55<00:35, 11.84s/it]
Testing prompts:  80%|████████  | 8/10 [00:57<00:17,  8.53s/it]
Testing prompts:  90%|█████████ | 9/10 [00:59<00:06,  6.41s/it]
Testing prompts: 100%|██████████| 10/10 [01:00<00:00,  4.79s/it]
Testing prompts: 100%|██████████| 10/10 [01:00<00:00,  6.02s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:03,  2.26it/s]
Testing prompts:  20%|██        | 2/10 [00:01<00:05,  1.53it/s]
Testing prompts:  30%|███       | 3/10 [00:03<00:09,  1.33s/it]
Testing prompts:  40%|████      | 4/10 [00:04<00:08,  1.38s/it]
Testing prompts:  50%|█████     | 5/10 [00:05<00:06,  1.26s/it]
Testing prompts:  60%|██████    | 6/10 [00:07<00:05,  1.40s/it]
Testing prompts:  70%|███████   | 7/10 [00:08<00:04,  1.34s/it]
Testing prompts:  80%|████████  | 8/10 [00:11<00:03,  1.81s/it]
Testing prompts:  90%|█████████ | 9/10 [00:14<00:02,  2.09s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.75s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.53s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  2.22it/s]
Testing prompts:  20%|██        | 2/10 [00:01<00:08,  1.00s/it]
Testing prompts:  30%|███       | 3/10 [00:03<00:08,  1.22s/it]
Testing prompts:  40%|████      | 4/10 [00:04<00:07,  1.33s/it]
Testing prompts:  50%|█████     | 5/10 [00:07<00:09,  1.89s/it]
Testing prompts:  60%|██████    | 6/10 [00:09<00:07,  1.86s/it]
Testing prompts:  70%|███████   | 7/10 [00:11<00:05,  1.80s/it]
Testing prompts:  80%|████████  | 8/10 [00:11<00:02,  1.44s/it]
Testing prompts:  90%|█████████ | 9/10 [00:14<00:01,  1.78s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.58s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.55s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  1.94it/s]
Testing prompts:  20%|██        | 2/10 [00:02<00:12,  1.53s/it]
Testing prompts:  30%|███       | 3/10 [00:05<00:13,  1.88s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  40%|████      | 4/10 [00:07<00:11,  1.94s/it]
Testing prompts:  50%|█████     | 5/10 [00:07<00:07,  1.56s/it]
Testing prompts:  60%|██████    | 6/10 [00:09<00:06,  1.71s/it]
Testing prompts:  70%|███████   | 7/10 [00:11<00:05,  1.71s/it]
Testing prompts:  80%|████████  | 8/10 [00:12<00:02,  1.31s/it]
Testing prompts:  90%|█████████ | 9/10 [00:14<00:01,  1.58s/it]
Testing prompts: 100%|██████████| 10/10 [00:14<00:00,  1.24s/it]
Testing prompts: 100%|██████████| 10/10 [00:14<00:00,  1.48s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:01<00:13,  1.47s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  20%|██        | 2/10 [00:02<00:11,  1.46s/it]
Testing prompts:  30%|███       | 3/10 [00:05<00:12,  1.78s/it]
Testing prompts:  40%|████      | 4/10 [00:05<00:07,  1.25s/it]
Testing prompts:  50%|█████     | 5/10 [00:06<00:06,  1.20s/it]
Testing prompts:  60%|██████    | 6/10 [00:08<00:05,  1.43s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(
[2025-05-10 01:55:27,234][ERROR] Error during command execution: 'utf-8' codec can't decode byte 0xfb in position 0: invalid start byte

Testing prompts:  70%|███████   | 7/10 [00:10<00:04,  1.46s/it]
Testing prompts:  80%|████████  | 8/10 [00:10<00:02,  1.17s/it]
Testing prompts:  90%|█████████ | 9/10 [00:11<00:01,  1.17s/it]
Testing prompts: 100%|██████████| 10/10 [00:12<00:00,  1.16s/it]
Testing prompts: 100%|██████████| 10/10 [00:12<00:00,  1.29s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  2.06it/s]
Testing prompts:  20%|██        | 2/10 [00:01<00:05,  1.39it/s]
Testing prompts:  30%|███       | 3/10 [00:02<00:06,  1.16it/s]
Testing prompts:  40%|████      | 4/10 [00:03<00:05,  1.03it/s]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  50%|█████     | 5/10 [00:05<00:07,  1.50s/it]
Testing prompts:  60%|██████    | 6/10 [00:07<00:06,  1.54s/it]
Testing prompts:  70%|███████   | 7/10 [00:08<00:04,  1.43s/it]
Testing prompts:  80%|████████  | 8/10 [00:10<00:03,  1.53s/it]
Testing prompts:  90%|█████████ | 9/10 [00:11<00:01,  1.47s/it]
Testing prompts: 100%|██████████| 10/10 [00:13<00:00,  1.54s/it]
Testing prompts: 100%|██████████| 10/10 [00:13<00:00,  1.36s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  1.87it/s]
Testing prompts:  20%|██        | 2/10 [00:02<00:09,  1.13s/it]
Testing prompts:  30%|███       | 3/10 [00:05<00:15,  2.15s/it]
Testing prompts:  40%|████      | 4/10 [00:06<00:10,  1.76s/it]
Testing prompts:  50%|█████     | 5/10 [00:07<00:07,  1.54s/it]
Testing prompts:  60%|██████    | 6/10 [00:09<00:07,  1.76s/it]
Testing prompts:  70%|███████   | 7/10 [00:11<00:04,  1.53s/it]
Testing prompts:  80%|████████  | 8/10 [00:11<00:02,  1.29s/it]
Testing prompts:  90%|█████████ | 9/10 [00:12<00:01,  1.21s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.54s/it]
Testing prompts: 100%|██████████| 10/10 [00:15<00:00,  1.51s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:05,  1.78it/s]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  20%|██        | 2/10 [00:02<00:11,  1.39s/it]
Testing prompts:  30%|███       | 3/10 [00:05<00:14,  2.14s/it]
Testing prompts:  40%|████      | 4/10 [00:06<00:09,  1.62s/it]
Testing prompts:  50%|█████     | 5/10 [00:08<00:08,  1.62s/it]
Testing prompts:  60%|██████    | 6/10 [00:09<00:06,  1.69s/it]
Testing prompts:  70%|███████   | 7/10 [00:11<00:04,  1.65s/it]
Testing prompts:  80%|████████  | 8/10 [00:11<00:02,  1.29s/it]
Testing prompts:  90%|█████████ | 9/10 [00:13<00:01,  1.45s/it]
Testing prompts: 100%|██████████| 10/10 [00:14<00:00,  1.39s/it]
Testing prompts: 100%|██████████| 10/10 [00:14<00:00,  1.50s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  1.88it/s]
Testing prompts:  20%|██        | 2/10 [00:01<00:06,  1.26it/s]
Testing prompts:  30%|███       | 3/10 [00:02<00:07,  1.09s/it]
Testing prompts:  40%|████      | 4/10 [00:03<00:06,  1.05s/it]
Testing prompts:  50%|█████     | 5/10 [00:04<00:04,  1.05it/s]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  60%|██████    | 6/10 [00:06<00:04,  1.14s/it]
Testing prompts:  70%|███████   | 7/10 [00:08<00:04,  1.44s/it]
Testing prompts:  80%|████████  | 8/10 [00:09<00:02,  1.28s/it]
Testing prompts:  90%|█████████ | 9/10 [00:10<00:01,  1.20s/it]
Testing prompts: 100%|██████████| 10/10 [00:11<00:00,  1.15s/it]
Testing prompts: 100%|██████████| 10/10 [00:11<00:00,  1.13s/it]

Testing prompts:   0%|          | 0/10 [00:00<?, ?it/s]
Testing prompts:  10%|█         | 1/10 [00:00<00:04,  1.83it/s]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(

Testing prompts:  20%|██        | 2/10 [00:01<00:08,  1.05s/it]
Testing prompts:  30%|███       | 3/10 [00:03<00:08,  1.28s/it]
Testing prompts:  40%|████      | 4/10 [00:05<00:09,  1.65s/it]
Testing prompts:  50%|█████     | 5/10 [00:07<00:08,  1.69s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(
[2025-05-10 01:56:53,431][ERROR] Error during command execution: 'utf-8' codec can't decode byte 0xbd in position 1: invalid start byte

Testing prompts:  60%|██████    | 6/10 [00:09<00:07,  1.83s/it]
Testing prompts:  70%|███████   | 7/10 [00:10<00:04,  1.65s/it]
Testing prompts:  80%|████████  | 8/10 [00:11<00:02,  1.32s/it]
Testing prompts:  90%|█████████ | 9/10 [00:12<00:01,  1.29s/it]/home/ubuntu/miniconda3/envs/agenttools/lib/python3.10/site-packages/langchain_community/tools/shell/tool.py:33: UserWarning: The shell tool has no safeguards by default. Use at your own risk.
  warnings.warn(
