JatsTheAIGen commited on
Commit
2a149d1
·
1 Parent(s): a929e66

Fix import error: Remove references to deleted functions

Browse files

- Removed smart_chunk_text and get_optimal_chunk_size from imports
- These functions were removed as part of Document Type Analysis simplification
- Fixes ImportError on application startup

Files changed (1) hide show
  1. agents.py +1 -1
agents.py CHANGED
@@ -5,7 +5,7 @@ import logging
5
  from typing import Optional, Dict, Any, List, AsyncGenerator
6
  import time
7
 
8
- from utils import call_openai_chat, load_pdf_text_cached, load_pdf_text_chunked, get_document_metadata, get_cached_analysis, cache_analysis, smart_chunk_text, get_optimal_chunk_size
9
  from utils.visual_output import VisualOutputGenerator
10
  from config import Config
11
 
 
5
  from typing import Optional, Dict, Any, List, AsyncGenerator
6
  import time
7
 
8
+ from utils import call_openai_chat, load_pdf_text_cached, load_pdf_text_chunked, get_document_metadata, get_cached_analysis, cache_analysis
9
  from utils.visual_output import VisualOutputGenerator
10
  from config import Config
11