Skip to content

Commit 341c8eb

Browse files
committed
Merge remote-tracking branch 'origin/feature/54-add-docling-support' into feature/54-add-docling-support
2 parents 96a8ecf + 7bc663c commit 341c8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text_extract_api/extract/strategies/ollama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def extract_text(self, file_format: FileFormat, language: str = 'en') -> Extract
4040

4141
# Generate text using the specified model
4242
try:
43-
timeout = httpx.Timeout(connect=180.0, read=180.0, write=180.0, pool=180.0)
43+
timeout = httpx.Timeout(connect=180.0, read=180.0, write=180.0, pool=180.0) # @todo move those values to .env
4444
ollama = Client(timeout=timeout)
4545
response = ollama.chat(self._strategy_config.get('model'), [{
4646
'role': 'user',

0 commit comments

Comments
 (0)