Skip to content

Fixes #649 - Added AI env variables #650

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

Merged
merged 1 commit into from
May 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions appendix/configure-env-vars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,32 @@ ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS
Doing so on productive instances will draw important parts of your
instance not working. **WE STRONGLY** encourage against using this flag.


ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKERS
How many instances of AI workers should run simultaneously. AI workers handle
Zammad's AI requests and fetch the responses from the configured AI provider.
By default, one worker is running.

Self hosted AI users should be careful in increasing it. Depending on your
hardware, it may cause your AI service to collapse.

For AI cloud service users with a big Zammad instance, it could make sense
to increase it to have some kind of parallelization.

| Default: **unset**
| Maximum number of workers: ``16``


ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKERS_THREADS
How many threads should be processed by **one** AI worker (if you have more
than one worker, it is multiplied by the amount of workers). This may speed
up the AI processing, but be aware that a ruby worker can only span across 1
core anyway.

| Default: ``1``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression, that the default for AI Threads is 5?

| Maximum number of threads: ``16``


--------------------------------------------------------------------------------

.. note::
Expand Down