Skip to content

Commit 7cd6e12

Browse files
committed
refactor: 도커파일 내 인증서 삭제
1 parent c5fdf47 commit 7cd6e12

4 files changed

Lines changed: 2 additions & 7 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ WORKDIR /app
66
# 의존성 설치
77
COPY requirements.txt .
88
RUN pip install --no-cache-dir -r requirements.txt
9-
# 인증서 설치
10-
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
119

1210
# 전체 코드 복사
1311
COPY . .

core/tariff_prediction/agent/tariff_prediction_agent.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
from core.shared.states.states import CustomsAgentState
55
from core.tariff_prediction.tools.calculate_tariff_amount import calculate_tariff_amount
6-
from core.tariff_prediction.tools.get_hs_classification import get_hs_classification
7-
from core.tariff_prediction.tools.clean_product_description import clean_product_description
86
from core.tariff_prediction.tools.detect_scenario import detect_scenario_from_input
97
from core.tariff_prediction.tools.parse_user_input import parse_user_input
108
from core.tariff_prediction.tools.parse_hs_results import parse_hs6_result, generate_hs10_candidates
@@ -14,7 +12,7 @@
1412
SESSION_TERMINATION_KEYWORDS, REPREDICTION_KEYWORDS, SIMPLE_TARIFF_REQUESTS,
1513
TARIFF_CONTEXT_KEYWORDS, DEFAULT_EXCHANGE_RATES,
1614
DEFAULT_COUNTRY, DEFAULT_QUANTITY, DEFAULT_SHIPPING_COST, DEFAULT_SESSION_ID,
17-
INPUT_EXAMPLES, GUIDE_MESSAGES, ERROR_MESSAGES, CORRECTION_MESSAGES, LLM_PROMPTS
15+
ERROR_MESSAGES, CORRECTION_MESSAGES
1816
)
1917
from core.tariff_prediction.tools.context_utils import extract_llm_response, extract_info_from_context, merge_context_with_current
2018
from core.tariff_prediction.agent.step_api import tariff_prediction_step_api

core/tariff_prediction/tools/get_exchange_rate_info.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pandas as pd
44
import re
55
from langchain_core.tools import tool
6-
import os
76

87
from core.tariff_prediction.constants.api_config import KOREAEXIM_API_URL, KOREAEXIM_API_KEY
98
from core.tariff_prediction.constants import SUPPORTED_COUNTRIES

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ torch>=2.1.0,<2.3.0
3131
transformers>=4.41.0,<5.0.0
3232

3333
joblib==1.4.2
34-
sentence-transformers==5.0.0
34+
sentence-transformers==5.0.0

0 commit comments

Comments
 (0)