mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
The chat harness took the context window, agent options and input modalities from the config of the name a chat asked for. An alias has no model of its own and the loader gives it the generic default window, so a chat on an alias budgeted against 4096 tokens and failed on tool schemas even when the target ran with a far larger window. Resolve the alias to its target first, as the capabilities endpoint already does. Assisted-by: Claude Code:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>