Skip to content

Feat/management instagram comment#75

Open
Hyungson wants to merge 3 commits intodevfrom
feat/management_instagram_comment
Open

Feat/management instagram comment#75
Hyungson wants to merge 3 commits intodevfrom
feat/management_instagram_comment

Conversation

@Hyungson
Copy link
Copy Markdown
Collaborator

@Hyungson Hyungson commented Sep 2, 2025

📝 Summary

✅ Checklist

  • 관련 이슈가 명시되어 있습니다.
  • 테스트가 완료되었습니다.
  • 문서 업데이트가 포함되었습니다.
  • 코드 리뷰를 위한 사전 검토를 완료했습니다.

📄 Description

instagram comment를 분석하는 에이전트 최종 PR입니다.

💡 Notice (Optional)

🔗 Related Issue(s)

Copy link
Copy Markdown
Collaborator

@LJBang LJBang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

너무 늦게 리뷰드리네요 ㅠㅠ

몇 가지 궁금한 것만 체크했는데, 휴가시니 여유롭게 보시면 될 것 같습니다~


class ResourceManagementNode(BaseNode):


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 pre-commit lint가 제대로 돌아갔나요? 공백이 넘 많은 것 같아서요..

class ResourceManagementNode(BaseNode):


load_dotenv(override=True)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 파일에서 env 사용 안하는 것처럼 보이는데, 여기서 dotenv 불러주어야 하나요? 메인 workflow에서 부르고 있는데 또 부르는 것 같아보여서 여쭤봐요!

)


class InstagramAnalysisReportOutput(BaseModel):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

뭐 취향 차이겠지만 이런 값 객체들만 따로 파일로 모으는건 어떠신가요?

return []


class InstagramCommentsAnalysisNode(BaseNode):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 노드 llm 객체 만드는 부분이랑, chain 사용하는 부분에서, models.py와 chains.py로 따로 안 빼고 여기 메서드에 통합하신 이유가 있으실까용

parsed_output = InstagramCommentsAnalysisOutput.model_validate_json(
json_content
)
except Exception as parse_error:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

웬만하면 다른 에러는 안 날 것 같긴 한데, 이러면 모든 에러가 parse_error처럼 걸려서 디버깅에 방해될 수도 있으니 차라리 ParseException 같은 에러 하나 만들어서 그거 잡는 것도 좋을 것 같슴다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants