Skip to content

Commit

Permalink
fix: test_validate_tool_func_result error message
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotzh committed Apr 26, 2024
1 parent 3d33524 commit 9f8c341
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from promptflow._core._errors import DuplicateToolMappingError
from promptflow._utils.tool_utils import (
RetrieveToolFuncResultError,
ListFunctionResponseError,
RetrieveToolFuncResultError,
RetrieveToolFuncResultValidationError,
_find_deprecated_tools,
append_workspace_triple_to_func_input_params,
Expand Down Expand Up @@ -376,7 +376,7 @@ def test_load_function_from_function_path_with_error(self, mock_module_with_list
(
ToolFuncCallScenario.REVERSE_GENERATED_BY,
"dummy_result",
f"ToolFuncCallScenario {ToolFuncCallScenario.REVERSE_GENERATED_BY} response must be a dict. "
f"ToolFuncCallScenario {ToolFuncCallScenario.REVERSE_GENERATED_BY.value} response must be a dict. "
f"dummy_result is not a dict.",
),
(
Expand Down

0 comments on commit 9f8c341

Please sign in to comment.