Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: fix display name stuff (#5329)
Shubham Naik5af0c1535fdf
diff --git a/fern/openapi.json b/fern/openapi.jsonindex d000c3dcf..512de58d4 100644--- a/fern/openapi.json+++ b/fern/openapi.json@@ -14207,6 +14207,36 @@"model": {"type": "string"},+ "display_name": {+ "oneOf": [+ {+ "type": "string"+ },+ {+ "type": "string",+ "format": "null",+ "nullable": true+ },+ {+ "type": "array",+ "items": {+ "oneOf": [+ {+ "type": "string"+ },+ {+ "type": "string",+ "format": "null",+ "nullable": true+ }+ ],+ "nullable": true+ }+ },+ {}+ ],+ "nullable": true+ },"model_endpoint_type": {"type": "string","enum": [@@ -28694,6 +28724,18 @@"title": "Model","description": "LLM model name. "},+ "display_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Display Name",+ "description": "A human-friendly display name for the model."+ },"model_endpoint_type": {"type": "string","enum": [diff --git a/letta/schemas/llm_config.py b/letta/schemas/llm_config.pyindex f3b946871..e46362d5b 100644--- a/letta/schemas/llm_config.py+++ b/letta/schemas/llm_config.py@@ -13,6 +13,8 @@ class LLMConfig(BaseModel):"""Configuration for Language Model (LLM) connection and generation parameters."""model: str = Field(..., description="LLM model name. ")+ display_name: Optional[str] = Field(None, description="A human-friendly display name for the model.")+model_endpoint_type: Literal["openai","anthropic",