Skip to content

Commit 7bc663c

Browse files
authored
Apply suggestions from code review
1 parent 5adc005 commit 7bc663c

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)