From 3836566d06f2ea6bf722d1d1bbd8e1b7bed32b74 Mon Sep 17 00:00:00 2001 From: Ian Massingham Date: Fri, 3 Jan 2025 12:17:05 +0000 Subject: [PATCH] Fix incorrect wording in deprecation warning for ToolkitTask --- griptape/tasks/toolkit_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/griptape/tasks/toolkit_task.py b/griptape/tasks/toolkit_task.py index 6544a11a5..67e0b9380 100644 --- a/griptape/tasks/toolkit_task.py +++ b/griptape/tasks/toolkit_task.py @@ -15,7 +15,7 @@ class ToolkitTask(PromptTask): def try_run(self) -> BaseArtifact: warnings.warn( - "`PromptTask` is deprecated and will be removed in a future release. `PromptTask` is a drop-in replacement.", + "`ToolkitTask` is deprecated and will be removed in a future release. `PromptTask` is a drop-in replacement.", DeprecationWarning, stacklevel=2, )