Classic298
557df60c3b
refactor: remove dead frontend API wrappers with no backend route ( #24792 )
...
These 19 exported wrappers are dead: each appears exactly once in the
codebase (its own definition), nothing imports or calls any of them, and
none has a corresponding backend route. They are leftovers from settings
that were consolidated server-side into /auths/admin/config,
/openai/config, /ollama/config and /api/config:
- index.ts: getModelFilterConfig, updateModelFilterConfig,
getCommunitySharingEnabledStatus, toggleCommunitySharingEnabledStatus,
getModelConfig, updateModelConfig (+ orphaned GlobalModelConfig type)
- auths: getSignUpEnabledStatus, toggleSignUpEnabledStatus,
getDefaultUserRole, updateDefaultUserRole, getJWTExpiresDuration,
updateJWTExpiresDuration
- openai: getOpenAIUrls, updateOpenAIUrls, getOpenAIKeys, updateOpenAIKeys
- ollama: updateOllamaUrls
- prompts: restorePromptFromHistory
- folders: updateFolderItemsById (+ orphaned FolderItems type)
Shared types (ModelConfig/ModelMeta/ModelParams) and all live wrappers
are untouched. Removal is import-safe: nothing referenced these.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 20:48:02 +04:00
Classic298
0bd295b10b
fix: prevent getOpenAIUrls and getOpenAIKeys crash on null response ( #20272 )
...
Use optional chaining and nullish coalescing when accessing res.OPENAI_API_BASE_URLS and res.OPENAI_API_KEYS. Returns empty array instead of crashing with 'Cannot read property of null'.
2025-12-31 17:40:56 +04:00
Timothy Jaeryang Baek
77b65ccbfb
refac/enh: forward headers to tool server
2025-09-01 01:52:10 +04:00
Timothy Jaeryang Baek
97448e25ec
fix: openai error handling
2025-08-11 17:00:06 +04:00
Timothy Jaeryang Baek
caeb822cdc
feat: azure openai support
2025-05-19 03:40:32 +04:00
Jesper Kristensen
20c1c3f66b
Changed console logging of errors to use console error logging
2025-05-15 21:35:07 +02:00
Timothy Jaeryang Baek
431e97b03a
wip: direct models
2025-02-12 01:17:30 -08:00
Timothy Jaeryang Baek
862b5a947a
refac: connections
2025-02-11 23:21:09 -08:00
Timothy Jaeryang Baek
e7da506add
refac: middleware
2025-02-04 21:01:53 -08:00
Timothy Jaeryang Baek
00f3a9cb52
refac
2024-12-24 16:56:52 -07:00
Timothy Jaeryang Baek
41cabf5a2c
chore: format
2024-12-21 09:20:20 -07:00
Timothy Jaeryang Baek
b1b2a6d78c
refac
2024-12-20 18:31:20 -08:00
Timothy Jaeryang Baek
e9cb6e4714
fix
2024-12-20 18:29:57 -08:00
Timothy Jaeryang Baek
37ce88e744
refac: floating buttons
2024-12-20 14:38:15 -08:00
Timothy Jaeryang Baek
c3e8cd03b2
chore: format
2024-12-19 01:07:50 -08:00
Timothy Jaeryang Baek
2be9e55545
refac: chat requests
2024-12-19 01:00:32 -08:00
Timothy Jaeryang Baek
c338f2cae1
chore: format
2024-11-16 23:46:12 -08:00
Timothy Jaeryang Baek
0809eb79b8
refac: openai connections
2024-11-11 21:18:51 -08:00
Michael Poluektov
ec9e0dadea
remove frontend functions migrated to backend
2024-08-14 14:33:20 +01:00
Timothy J. Baek
7ef5aa520c
chore: format
2024-08-13 11:12:35 +01:00
Timothy J. Baek
cb8c45d864
fix: pipelines
2024-05-31 13:30:12 -07:00
Timothy J. Baek
9dfa334a83
feat: CURRENT_DATE, USER_NAME prompt variable support
2024-05-31 11:11:28 -07:00
Timothy J. Baek
5cf44ac7da
feat: display pipelines server in api settings
2024-05-29 01:36:13 -07:00
Timothy J. Baek
e8d4e03c0d
refac: openai allow empty key
2024-05-29 01:12:25 -07:00
Timothy J. Baek
4d64893661
refac: styling
2024-05-27 14:55:08 -07:00
Timothy J. Baek
74a8deb19f
refac
2024-05-27 14:25:36 -07:00
Jun Siang Cheah
b1265c9c34
Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search
2024-05-25 14:55:49 +01:00
Jun Siang Cheah
eb509c460a
Merge remote-tracking branch 'origin/dev' into feat/backend-web-search
2024-05-20 18:01:29 +01:00
Jun Siang Cheah
4002ead6af
feat: store model configs in the database
2024-05-19 18:46:24 +08:00
Jun Siang Cheah
1bacd5d93f
Merge branch 'dev' into feat/model-config
2024-05-19 13:13:17 +08:00
Timothy J. Baek
cdbabdfa5a
refac
2024-05-17 10:30:22 -07:00
Jun Siang Cheah
466b3e3637
feat: add support for using previous messages for query generation
2024-05-12 20:45:44 +08:00
Jun Siang Cheah
77928ae141
Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/web-search-toggle
2024-05-11 23:51:37 +08:00
Jun Siang Cheah
2660a6e5b8
feat: prototype frontend web search integration
2024-05-11 23:44:34 +08:00
Jun Siang Cheah
e76a444ed9
feat: allow model config via config.json
2024-05-09 20:25:30 +08:00
Timothy Jaeryang Baek
675328c881
Merge pull request #2002 from Yanyutin753/addAudio
...
🤩 Added custom openai tts models and role variables
2024-05-08 08:03:20 -07:00
Timothy J. Baek
9aa689ea56
feat: title trim quotation marks
2024-05-06 16:59:54 -07:00
Timothy J. Baek
7f1acf9c2d
chore: format
2024-05-06 12:58:24 -07:00
Yanyutin753
761c66a8d8
🤩 Added custom openai tts models and role variables
2024-05-06 15:23:27 +08:00
Jun Siang Cheah
b8c97fa012
feat: restrict title gen output to 50 tokens
2024-05-06 14:46:50 +08:00
Jun Siang Cheah
c095a7c291
feat: abort openai text completion when stopping responses
2024-04-27 21:53:47 +01:00
Timothy J. Baek
0c441b588c
refac: naming convention
2024-04-14 17:04:24 -04:00
Jun Siang Cheah
db817fcf29
feat: add {{prompt:start:length}} and {{prompt 🔚 length}} to title gen
2024-04-13 18:26:50 +01:00
Timothy J. Baek
3edc547389
feat: title auto generation for external models
2024-03-26 00:59:57 -07:00
Timothy J. Baek
c255cba198
feat: multiple openai apis
2024-03-06 16:13:25 -08:00
Timothy J. Baek
f8cf43c0f7
refac: console logs removed
2024-02-25 16:13:34 -08:00
Timothy J. Baek
9b6dca3d7f
feat: litellm frontend integration
2024-02-22 04:12:26 -08:00
Timothy J. Baek
0b8df52c97
feat: openai tts support
2024-02-05 22:51:08 -08:00
Timothy Jaeryang Baek
1a93191259
Merge branch 'main' into bun
2024-01-04 22:57:11 -05:00
Timothy J. Baek
c0b099da4f
feat: openai frontend refac
2024-01-04 18:54:00 -08:00