fix: show max context window limit in ADE for model (#1414)

This commit is contained in:
cthomas
2025-03-26 11:03:59 -07:00
committed by GitHub
parent 66668c1c6d
commit 92681c608a

View File

@@ -1060,9 +1060,6 @@ class SyncServer(Server):
llm_models.extend(self.get_local_llm_configs())
# respect global maximum
for llm_config in llm_models:
llm_config.context_window = min(llm_config.context_window, model_settings.global_max_context_window_limit)
return llm_models
def list_embedding_models(self) -> List[EmbeddingConfig]: