Files
open-webui/backend/open_webui/utils
Classic298 45f489bea8 fix: chats fail when a Tether OpenAPI tool has the same name as another tool (#34730)
When two tool servers offer a tool with the same name, Open WebUI puts the server ID in front of the second one so the model can tell them apart. Tool servers added in Tether have IDs with colons, so the renamed tool broke the name rules of OpenAI-compatible providers and the provider rejected the whole chat for an invalid tool name. The same happened for admin tool servers whose ID has a dot. Characters outside letters, digits, underscores and dashes are now replaced with underscores in the renamed tool, and calls still reach the right server. Same cause as #34718, which covered MCP servers from Tether.

Fixes #34729
2026-11-22 20:28:37 +04:00
..
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-19 19:13:33 +04:00
2026-11-22 17:13:34 +04:00
2026-11-19 19:13:33 +04:00
2026-11-13 17:36:00 +09:00
2026-11-16 21:10:30 +09:00
2026-11-22 17:13:34 +04:00
2026-11-09 08:05:51 +09:00
2026-11-05 11:41:25 +09:00
2026-11-22 17:13:34 +04:00
2026-11-16 21:10:30 +09:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-11-02 09:52:30 +09:00
2026-11-22 15:54:36 +04:00
2026-07-31 17:41:14 -04:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00
2026-10-25 08:24:14 +09:00
2026-11-17 22:30:21 +09:00
2026-11-22 17:13:34 +04:00
2026-11-17 22:30:21 +09:00
2026-07-26 23:09:22 -04:00
2026-11-22 15:54:36 +04:00
2026-11-05 16:54:50 +09:00
2026-11-17 22:01:25 +09:00
2026-11-02 08:48:51 +09:00
2026-11-22 02:10:33 +04:00
2026-11-02 08:48:51 +09:00
2026-11-22 16:26:59 +04:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-11-02 12:45:15 +09:00
2026-10-16 14:31:39 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 16:26:59 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-20 21:51:19 +04:00
2026-11-02 08:48:51 +09:00
2026-10-11 15:55:57 +04:00
2026-11-02 08:48:51 +09:00