Lucas Gomide
015e1a41b2
Supporting no-code Guardrail creation ( #2636 )
...
* feat: support to define a guardrail task no-code
* feat: add auto-discovery for Guardrail code execution mode
* feat: handle malformed or invalid response from CodeInterpreterTool
* feat: allow to set unsafe_mode from Guardrail task
* feat: renaming GuardrailTask to TaskGuardrail
* feat: ensure guardrail is callable while initializing Task
* feat: remove Docker availability check from TaskGuardrail
The CodeInterpreterTool already ensures compliance with this requirement.
* refactor: replace if/raise with assert
For this use case `assert` is more appropriate choice
* test: remove useless or duplicated test
* fix: attempt to fix type-checker
* feat: support to define a task guardrail using YAML config
* refactor: simplify TaskGuardrail to use LLM for validation, no code generation
* docs: update TaskGuardrail doc strings
* refactor: drop task paramenter from TaskGuardrail
This parameter was used to get the model from the `task.agent` which is a quite bit redudant since we could propagate the llm directly
2025-04-30 10:47:58 -04:00
..
2024-11-18 00:21:36 -03:00
2025-04-30 10:47:58 -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-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-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
2024-09-24 22:18:20 -03:00
2024-09-24 22:18:20 -03:00
2025-03-26 12:02:17 -03:00
2025-04-18 18:33:04 -07:00
2025-04-18 18:33:04 -07:00
2025-01-29 09:37:22 -05:00
2024-12-12 15:04:32 -05:00
2025-01-14 13:06:47 -05: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
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-04-30 10:47:58 -04:00
2025-04-30 10:47:58 -04:00
2025-01-14 13:24:03 -05:00
2025-04-02 08:54: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
2025-04-17 11:58:52 -04:00
2025-04-17 11:58:52 -04:00
2025-04-17 11:58:52 -04:00
2025-04-17 11:58:52 -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
2024-09-24 22:18:20 -03: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-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-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-04-23 11:20:32 -07:00
2025-04-23 11:20:32 -07:00
2025-04-30 10:47:58 -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-04-17 11:58:52 -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-02 08:54: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-12-12 15:04:32 -05: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-04-02 08:54:46 -07:00
2025-04-02 08:54:46 -07: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-01-14 13:06:47 -05: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-03-26 16:30:17 -03:00
2024-12-27 17:03:35 -03:00
2024-11-18 00:21:36 -03:00
2025-04-30 10:47:58 -04: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
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
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-01-03 13:12:13 -05:00
2025-04-30 10:47:58 -04:00
2025-01-06 16:12:43 -05:00
2025-04-17 16:03:00 -04:00
2025-04-17 16:03:00 -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
2024-09-24 22:18:20 -03:00
2025-04-14 15:48:48 -04:00
2025-04-14 15:48:48 -04:00
2024-09-24 22:18:20 -03:00
2025-04-14 15:48:48 -04:00