o2o-negosium-original/backend/crud
민헌 8f070e362b feat(chat): agent 연동 정리 — mock 제거·DB 데이터 연동·표현 passthrough
- MockAgentClient/use_mock 분기와 mock 전용 turn/count_bot_messages 제거 (항상 HttpAgentClient 위임)
- agent RL state 입력을 실 DB 로 연동: anchor_price=quotation_settings.anchoring_value 기반 계산, partner_count=견적당 세션 수 (quotation_settings 모델 추가)
- 재견적 배송형태(delivery_type) 캡처: 배송형태선택 단계 선택값을 summaryCM 요약에 반영 (DeliveryType enum 추가)
- 표현 계약 passthrough: agent 응답의 bot_chat_type/indicator_value 를 우선 사용하고 없으면 step+qt_type 으로 폴백, indicator_value 컬럼 영속/전달
- 턴당 중복 조회 제거: item/last_price 를 1회 로드해 재사용
- 관련 테스트 추가(배송형태 캡처, passthrough)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 17:32:50 +09:00
..
chat_crud.py feat(chat): agent 연동 정리 — mock 제거·DB 데이터 연동·표현 passthrough 2026-06-19 17:32:50 +09:00
session_crud.py feat(backend): 협상 거부(reject) 기능 2026-06-18 13:20:29 +09:00
user_crud.py feat(backend): 로그아웃 + stateful 토큰 검증 (단일 세션 즉시 폐기) 2026-06-18 11:26:08 +09:00