mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
#315: Import and call resolveModelAlias() in chatCore.ts before the getModelTargetFormat() lookup so that custom aliases configured in Settings → Model Aliases → Pattern→Target are actually applied during routing instead of being silently ignored. #316: Load persisted custom model aliases from settings DB at server startup (instrumentation.ts). Previously _customAliases started as an empty object after every restart since setCustomAliases() was only called by the PUT /api/settings/model-aliases handler — never at init. Now aliases are restored from settings.modelAliases JSON field on boot.