Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

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

cthomas92681c608ae0
diff --git a/letta/server/server.py b/letta/server/server.py
index 0756ed473..927361834 100644
--- a/letta/server/server.py
+++ b/letta/server/server.py
@@ -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]: