fix(telegram): allow fallback models in /model validation (#40105)

Merged via squash.

Prepared head SHA: de07585e03
Co-authored-by: avirweb <257412074+avirweb@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
This commit is contained in:
avirweb
2026-03-12 07:55:51 -05:00
committed by GitHub
parent 171d2df9e0
commit f2e28fc30f
12 changed files with 313 additions and 45 deletions

View File

@@ -950,6 +950,7 @@ async function agentCommandInternal(
catalog: modelCatalog,
defaultProvider,
defaultModel,
agentId: sessionAgentId,
});
allowedModelKeys = allowed.allowedKeys;
allowedModelCatalog = allowed.allowedCatalog;