diff --git a/fern/openapi.json b/fern/openapi.json index d000c3dc..512de58d 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.py index f3b94687..e46362d5 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",