[GH-ISSUE #24400] issue: In Multi-worker environments, updating a tool only updates the code on one worker #107281

Closed
opened 2026-05-18 06:01:10 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Classic298 on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24400

  1. Have an existing tool in a multi worker environment that is properly set up with Redis
  2. Update the tool code
  3. Run a chat query - it works
  4. But: Refresh a few times or try from a different device/browser to hopefully get routed to a different worker: The old code gets executed and not the new one we updated in step 2
  5. Only a full service restart updates the tool code across all workers
Originally created by @Classic298 on GitHub (May 6, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24400 1. Have an existing tool in a multi worker environment that is properly set up with Redis 2. Update the tool code 3. Run a chat query - it works 4. But: Refresh a few times or try from a different device/browser to hopefully get routed to a different worker: **The old code gets executed and not the new one we updated in step 2** 5. Only a full service restart updates the tool code across all workers
Author
Owner

@owui-terminator[bot] commented on GitHub (May 6, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

  1. #19395 issue: allowlist for models not persisting in multi worker environment
    by Classic298 · bug

  2. #17757 issue: Native tool-calling overwrites tool-emitted chat message updates
    by brandco · bug

  3. #17252 issue: Enabled tool servers and available tools count don't match after switching models
    by willdady · bug

  4. #17047 issue: Multiple tool calls cause repetitive text output
    by pairwiserr · bug

  5. #12214 issue: Tool Calls result overrides previous tools messages sent
    by ivanwong1989 · bug


💡 If this is a duplicate, consider closing it and adding details to the existing issue.

This comment was generated automatically. React with 👍 if helpful, 👎 if not.

<!-- gh-comment-id:4386806597 --> @owui-terminator[bot] commented on GitHub (May 6, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: 1. [#19395](https://github.com/open-webui/open-webui/issues/19395) **issue: allowlist for models not persisting in multi worker environment** *by Classic298 · `bug`* 2. [#17757](https://github.com/open-webui/open-webui/issues/17757) **issue: Native tool-calling overwrites tool-emitted chat message updates** *by brandco · `bug`* 3. [#17252](https://github.com/open-webui/open-webui/issues/17252) **issue: Enabled tool servers and available tools count don't match after switching models** *by willdady · `bug`* 4. [#17047](https://github.com/open-webui/open-webui/issues/17047) **issue: Multiple tool calls cause repetitive text output** *by pairwiserr · `bug`* 5. [#12214](https://github.com/open-webui/open-webui/issues/12214) **issue: Tool Calls result overrides previous tools messages sent** *by ivanwong1989 · `bug`* --- 💡 If this is a duplicate, consider closing it and adding details to the existing issue. *This comment was generated automatically.* React with 👍 if helpful, 👎 if not.
Author
Owner

@Classic298 commented on GitHub (May 6, 2026):

https://github.com/open-webui/open-webui/pull/23896

<!-- gh-comment-id:4389917538 --> @Classic298 commented on GitHub (May 6, 2026): https://github.com/open-webui/open-webui/pull/23896
Author
Owner

@Classic298 commented on GitHub (May 7, 2026):

Fixed by https://github.com/open-webui/open-webui/pull/24433

<!-- gh-comment-id:4399769903 --> @Classic298 commented on GitHub (May 7, 2026): Fixed by https://github.com/open-webui/open-webui/pull/24433
Author
Owner

@tjbck commented on GitHub (May 8, 2026):

Addressed.

<!-- gh-comment-id:4408488683 --> @tjbck commented on GitHub (May 8, 2026): Addressed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#107281