Lorenze Jay
75b916c85a
Lorenze/fix tool call twice ( #3495 )
...
* test: add test to ensure tool is called only once during crew execution
- Introduced a new test case to validate that the counting_tool is executed exactly once during crew execution.
- Created a CountingTool class to track execution counts and log call history.
- Enhanced the test suite with a YAML cassette for consistent tool behavior verification.
* ensure tool function called only once
* refactor: simplify error handling in CrewStructuredTool
- Removed unnecessary try-except block around the tool function call to streamline execution flow.
- Ensured that the tool function is called directly, improving readability and maintainability.
* linted
* need to ignore for now as we cant infer the complex generic type within pydantic create_model_func
* fix tests
2025-09-10 15:20:21 -07:00
..
2024-11-18 00:21:36 -03:00
2025-06-24 15:14:59 -04:00
2025-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07:00
2025-01-14 13:06:47 -05:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-01-14 13:06:47 -05:00
2025-01-06 16:12:43 -05:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-04-02 08:54:46 -07:00
2025-07-11 13:52:26 -04:00
2025-04-02 08:54:46 -07:00
2025-06-10 13:32:32 -04:00
2025-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07:00
2024-09-24 22:18:20 -03:00
2025-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07:00
2024-09-24 22:18:20 -03:00
2025-08-26 09:09:46 -07:00
2024-09-24 22:18:20 -03:00
2025-05-07 11:55:42 -07:00
2025-05-07 11:55:42 -07:00
2025-05-07 11:55:42 -07:00
2025-05-07 11:55:42 -07:00
2025-01-29 09:37:22 -05:00
2025-05-07 11:55:42 -07:00
2025-07-11 13:52:26 -04:00
2025-01-14 13:06:47 -05:00
2025-07-11 13:52:26 -04:00
2025-01-09 12:13:02 -05:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-06-10 12:17:06 -04:00
2025-06-10 12:17:06 -04:00
2025-06-10 12:17:06 -04:00
2025-06-10 12:17:06 -04:00
2024-11-18 00:21:36 -03:00
2024-11-18 00:21:36 -03:00
2025-03-25 16:05:06 -03:00
2025-06-25 14:59:55 -04:00
2025-06-25 14:59:55 -04:00
2025-01-14 13:24:03 -05:00
2025-07-02 15:22:18 -07:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-07-01 22:50:39 -04:00
2025-04-17 11:58:52 -04:00
2025-07-01 22:50:39 -04:00
2025-07-01 22:50:39 -04:00
2025-04-17 11:58:52 -04:00
2025-04-17 11:58:52 -04:00
2025-01-10 17:16:46 -05:00
2025-03-07 12:54:32 -05:00
2025-03-07 12:54:32 -05:00
2024-09-24 22:18:20 -03:00
2024-12-29 01:57:59 -03:00
2025-06-14 12:21:46 -07:00
2024-12-27 17:03:35 -03:00
2024-12-27 17:03:35 -03:00
2024-12-27 17:03:35 -03:00
2025-01-04 16:30:20 -03:00
2025-01-29 09:37:22 -05:00
2024-09-24 22:18:20 -03:00
2025-03-25 12:39:08 -04:00
2025-03-25 12:39:08 -04:00
2025-02-04 10:58:34 -05:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-04-02 08:54:46 -07:00
2025-08-26 09:09:46 -07:00
2025-05-01 15:48:29 -04:00
2025-08-14 09:41:09 -04:00
2025-08-18 17:57:21 -04:00
2025-08-18 16:36:08 -04:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-08-06 14:05:14 -07:00
2025-09-10 15:20:21 -07:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-30 10:47:58 -04:00
2025-06-10 13:32:32 -04:00
2025-06-10 13:32:32 -04:00
2025-06-10 13:32:32 -04:00
2025-04-30 10:47:58 -04:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-04-17 11:58:52 -04:00
2025-04-17 11:58:52 -04:00
2025-05-29 14:34:34 -04:00
2025-04-17 11:58:52 -04:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-08-26 09:09:46 -07:00
2025-05-21 12:58:57 -07:00
2025-05-21 12:58:57 -07:00
2024-09-24 22:18:20 -03:00
2024-11-20 15:40:08 -08:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-04-09 11:54:45 -07:00
2025-04-09 11:54:45 -07:00
2025-04-09 11:54:45 -07:00
2025-04-02 08:54:46 -07:00
2025-05-06 15:07:57 -04:00
2025-04-02 08:54:46 -07:00
2025-07-18 13:54:28 -04:00
2025-07-18 13:54:28 -04:00
2024-09-24 22:18:20 -03:00
2025-01-22 14:36:15 -05:00
2025-01-14 13:06:47 -05:00
2025-01-22 14:36:15 -05:00
2025-01-22 14:36:15 -05:00
2025-01-22 14:36:15 -05:00
2025-01-22 14:36:15 -05:00
2024-09-24 22:18:20 -03:00
2025-05-29 14:34:34 -04:00
2024-09-24 22:18:20 -03:00
2025-04-14 15:48:48 -04:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-08-19 10:44:55 -07:00
2025-07-01 22:50:39 -04:00
2025-03-26 16:30:17 -03:00
2024-12-27 17:03:35 -03:00
2024-11-18 00:21:36 -03:00
2025-06-24 15:14:59 -04:00
2025-05-01 15:48:29 -04:00
2025-05-21 12:58:57 -07:00
2025-02-04 10:58:34 -05:00
2025-02-04 10:58:34 -05:00
2025-02-04 10:58:34 -05:00
2025-08-26 09:09:46 -07:00
2024-09-24 22:18:20 -03:00
2025-08-26 09:09:46 -07:00
2025-05-21 12:58:57 -07:00
2024-09-24 22:18:20 -03:00
2025-08-26 09:09:46 -07:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-08-18 17:57:21 -04:00
2025-08-18 17:57:21 -04:00
2025-01-03 13:12:13 -05:00
2025-04-30 10:47:58 -04:00
2025-05-14 16:06:07 -07:00
2025-01-06 16:12:43 -05:00
2025-05-21 12:58:57 -07:00
2025-04-17 16:03:00 -04:00
2025-06-14 12:21:46 -07:00
2025-08-18 17:57:21 -04:00
2025-05-05 15:22:32 -04:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-04-14 15:48:48 -04:00
2025-04-14 15:48:48 -04:00
2025-08-26 09:09:46 -07:00
2025-04-14 15:48:48 -04:00
2025-07-15 09:22:41 -04:00
2025-07-15 09:22:41 -04:00
2025-07-15 09:22:41 -04:00
2025-07-16 13:18:59 -04:00
2025-08-06 14:05:14 -07:00
2025-08-06 14:05:14 -07:00
2025-08-06 14:05:14 -07:00
2025-08-06 14:05:14 -07:00
2025-08-18 14:16:51 -07:00
2025-08-08 13:42:25 -07:00
2025-08-18 14:16:51 -07:00