fix: update PdfReader import from PyPDF2 to pypdf in pdf_utils.py

This commit is contained in:
2025-08-08 10:18:27 +07:00
parent e93f76d693
commit 59b5e13005
6 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ openai
motor
pymongo
tiktoken
PyPDF2
pypdf
beautifulsoup4
requests
aiohttp

View File

@@ -3,7 +3,7 @@ import asyncio
import discord
import logging
from typing import List, Dict, Any, Optional, Tuple
from PyPDF2 import PdfReader
from pypdf import PdfReader
from src.config.config import PDF_BATCH_SIZE
from src.utils.openai_utils import trim_content_to_token_limit