After pip install repoagent
running repoagent configure shows this error:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Scripts\repoagent.exe__main.py", line 4, in
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\main.py", line 12, in
from repo_agent.chat_with_repo import main as run_chat_with_repo
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\chat_with_repo__init.py", line 3, in
from .main import main
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\chat_with_repo\main.py", line 3, in
from repo_agent.settings import setting
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\settings.py", line 27, in
class ProjectSettings(BaseSettings):
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_model_construction.py", line 224, in new
complete_model_class(
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_model_construction.py", line 577, in complete_model_class
schema = cls.get_pydantic_core_schema(cls, handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\main.py", line 671, in get_pydantic_core_schema__
return handler(source)
^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_schema_generation_shared.py", line 83, in call__
schema = self._handler(source_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 655, in generate_schema
schema = self._generate_schema_inner(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 924, in _generate_schema_inner
return self._model_schema(obj)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 739, in _model_schema
{k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 1115, in _generate_md_field_schema
common_field = self._common_field_schema(name, field_info, decorators)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 1332, in _common_field_schema
schema = self._apply_field_serializers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 2221, in _apply_field_serializers
is_field_serializer, info_arg = inspect_field_serializer(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_decorators.py", line 586, in inspect_field_serializer
raise PydanticUserError(
pydantic.errors.PydanticUserError: Unrecognized field_serializer function signature for <function ProjectSettings.serialize_ignore_list at 0x000001F8B665F4C0> with mode=plain:(self, ignore_list: list[str] = [])
After pip install repoagent running repoagent configure shows this error: Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Scripts\repoagent.exe__main.py", line 4, in
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\main.py", line 12, in
from repo_agent.chat_with_repo import main as run_chat_with_repo
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\chat_with_repo__init.py", line 3, in
class ProjectSettings(BaseSettings):
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_model_construction.py", line 224, in new
complete_model_class(
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_model_construction.py", line 577, in complete_model_class
schema = cls. get_pydantic_core_schema (cls, handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\main.py", line 671, in get_pydantic_core_schema__
return handler(source)
^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_schema_generation_shared.py", line 83, in call__
schema = self._handler(source_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 655, in generate_schema
schema = self._generate_schema_inner(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 924, in _generate_schema_inner
return self._model_schema(obj)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 739, in _model_schema
{k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 1115, in _generate_md_field_schema
common_field = self._common_field_schema(name, field_info, decorators)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 1332, in _common_field_schema
schema = self._apply_field_serializers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_generate_schema.py", line 2221, in _apply_field_serializers
is_field_serializer, info_arg = inspect_field_serializer(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_decorators.py", line 586, in inspect_field_serializer
raise PydanticUserError(
pydantic.errors.PydanticUserError: Unrecognized field_serializer function signature for <function ProjectSettings.serialize_ignore_list at 0x000001F8B665F4C0> with
from .main import main File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\chat_with_repo\main.py", line 3, in
from repo_agent.settings import setting File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\repo_agent\settings.py", line 27, in
mode=plain
:(self, ignore_list: list[str] = [])For further information visit https://errors.pydantic.dev/2.9/u/field-serializer-signature