Skip to content

ValidationError: 1 validation error for search_text #6140

@sentry

Description

@sentry

Sentry Issue: REVIEWHELPER-API-20

ValidationError: 1 validation error for search_text
tests
  Input should be 'only' or 'exclude' [type=literal_error, input_value='"exclude"', input_type=str]
    For further information visit https://errors.pydantic.dev/2.13/v/literal_error
  File "langchain_core/tools/base.py", line 1085, in arun
    tool_args, tool_kwargs = self._to_args_and_kwargs(tool_input, tool_call_id)
  File "langchain_core/tools/base.py", line 862, in _to_args_and_kwargs
    tool_input = self._parse_input(tool_input, tool_call_id)
  File "langchain_core/tools/base.py", line 711, in _parse_input
    result = input_args.model_validate(tool_input)

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions