Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Setting for a custom axios timeout (ollama) #60

Open
JanLoebel opened this issue Jan 8, 2025 · 1 comment
Open

[Feature Request] Setting for a custom axios timeout (ollama) #60

JanLoebel opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@JanLoebel
Copy link

Hi i'm using paperless-ngx and paperless-ai on my server which does not contain a gpu. Therefore Ollama is running in cpu only mode and is very slow, but that is not a problem because I want to process new document only once a day. Currently the timeout of hardcoded 5 minutes (see:

this.client = axios.create({
) does not work for some documents, so it would be great to make it read an env-variable or add a custom setting for this option.

@clusterzx
Copy link
Owner

That is gonna be a good and quick improvement.

Gonna release it tomorrow with the new version

Thank you und beste Grüße

@clusterzx clusterzx self-assigned this Jan 8, 2025
@clusterzx clusterzx added the enhancement New feature or request label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants