docs: FastAPI 구조 원칙에 LangGraph 워크플로우 규칙 추가
- 복잡한 다단계 처리는 LangGraph 적극 활용 - 체크포인트 필수 (PostgresSaver) - stateless 금지 (프레임워크 가치 없음) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8a8a56484f
commit
893e613981
@ -93,6 +93,11 @@ utils
|
|||||||
|
|
||||||
## 5. 코드 작성 원칙
|
## 5. 코드 작성 원칙
|
||||||
|
|
||||||
|
### LangGraph 워크플로우
|
||||||
|
- **복잡한 다단계 처리**: LangGraph 적극 활용
|
||||||
|
- **체크포인트 필수**: PostgresSaver로 부분 재시도 가능하게 구현
|
||||||
|
- **stateless 금지**: 체크포인트 없는 LangGraph는 일반 함수와 동일, 프레임워크 가치 없음
|
||||||
|
|
||||||
### router 계층
|
### router 계층
|
||||||
```python
|
```python
|
||||||
# ✅ 올바름
|
# ✅ 올바름
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user