Skip to content

import path가 꼬여 있습니다. #1

@gh-choi-eloi

Description

@gh-choi-eloi

agent.py, init.py, tools.py, configuration.py 의 react_agent를 import하는 path가 꼬여 있어 오류가 발생합니다.

  1. agent.py, init.py ... 파일이 들은 react_agent 폴더 자체를 src 밖에 langgraph.json 과 같은 레벨에 위치 시키고, langgraph.json의 agent 경로도 알맞게 수정해 주니 해결 됩니다.

  2. 폴더, langgraph.json은 그대로 두고 agent.py, init.py, tools.py, configuration.py 에서 모든 react_agent import 절 앞에 src. 를 붙여주니 해결 됩니다.
    ex) from react_agent.configration import Configuration -> from src.react_agent.configuration import Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions