Commit a80d056
committed
release: v1.10.3 — revert v1.10.2 id rename + refresh module frontmatter
v1.10.2 swapped the function id to 'openrouter-pipe' based on a
misread of the portal's slugifier. Re-grounded in OWUI source:
src/lib/utils/index.ts -> nameToId():
name.replace(/[^\w]+/g, '_').toLowerCase()
(\w = [A-Za-z0-9_], so dashes become underscores)
'OpenRouter Pipe' slugifies to 'openrouter_pipe' — underscores are
correct, every existing community pipe under /f/<user>/<slug> uses
underscores, and v1.10.2's dash form would have failed portal
validation while creating a stranded function row in every existing
install's OWUI DB.
The real cause of the portal upload error was a stale module-level
frontmatter docstring at the top of openrouter_pipe.py — parsed by
backend/open_webui/utils/plugin.py:extract_frontmatter against the
'^\s*([a-z_]+):\s*(.*)$' pattern. The docstring still claimed
'version: 1.9.0' and a description from before the v1.10.x image /
video / audio output flows, so the portal preview surfaced the
missing/stale keys as a JavaScript 'undefined' tooltip.
Changes
-------
function.json
id: openrouter-pipe -> openrouter_pipe (reverted)
version: 1.10.2 -> 1.10.3
updated_at: 2026-05-31T16:00:00.000Z
openrouter_pipe.py
Module-level frontmatter docstring rewritten:
version: 1.9.0 -> version: 1.10.3
description: refreshed to cover image-gen, video-gen, audio-gen
(with their respective embed mechanics), SSRF-guarded
media downloads, 99.3% provider-icon coverage,
MAX_TOOL_ITERATIONS, encrypted UserValves keys, and
the atomic routing-set swap. Unicode arrow '->' was
replaced with '..' to avoid non-ASCII edge-cases in
the portal's metadata tooltip rendering.
Docstring examples in _clean_model_id() and _sync_model_icons()
reverted to openrouter_pipe.openai/gpt-4o form.
test_pipe.py
5 _function_id simulations + 2 prefix-assertion strings reverted
to openrouter_pipe.*. All 939 tests still green.
CHANGELOG.md
New [1.10.3] section documenting the misdiagnosis, the source
evidence for nameToId behaviour, the real frontmatter root cause,
and migration steps for any tester who installed v1.10.2.
[1.10.2] flagged as superseded — tag kept in git history for
traceability only.1 parent 3d9e1d8 commit a80d056
4 files changed
Lines changed: 30 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
| 1371 | + | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
| |||
1686 | 1686 | | |
1687 | 1687 | | |
1688 | 1688 | | |
1689 | | - | |
| 1689 | + | |
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1927 | 1927 | | |
1928 | 1928 | | |
1929 | 1929 | | |
1930 | | - | |
| 1930 | + | |
1931 | 1931 | | |
1932 | 1932 | | |
1933 | 1933 | | |
| |||
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
1950 | | - | |
| 1950 | + | |
1951 | 1951 | | |
1952 | 1952 | | |
1953 | 1953 | | |
1954 | | - | |
| 1954 | + | |
1955 | 1955 | | |
1956 | 1956 | | |
1957 | 1957 | | |
| |||
1963 | 1963 | | |
1964 | 1964 | | |
1965 | 1965 | | |
1966 | | - | |
| 1966 | + | |
1967 | 1967 | | |
1968 | 1968 | | |
1969 | 1969 | | |
1970 | | - | |
| 1970 | + | |
1971 | 1971 | | |
1972 | 1972 | | |
1973 | 1973 | | |
| |||
1982 | 1982 | | |
1983 | 1983 | | |
1984 | 1984 | | |
1985 | | - | |
| 1985 | + | |
1986 | 1986 | | |
1987 | 1987 | | |
1988 | 1988 | | |
| |||
2015 | 2015 | | |
2016 | 2016 | | |
2017 | 2017 | | |
2018 | | - | |
| 2018 | + | |
2019 | 2019 | | |
2020 | 2020 | | |
2021 | 2021 | | |
| |||
0 commit comments