Skip to content

Commit 3fa8d23

Browse files
committed
dipaly name optional
1 parent 09431f3 commit 3fa8d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/request_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class CustomPromptRequest(BaseModel):
287287
class CustomEndpointBase(BaseModel):
288288
"""Base model for custom endpoints"""
289289
endpoint_id: str = Field(..., description="Unique identifier for the custom endpoint")
290-
display_name: str = Field(..., description="Human-readable name for the endpoint")
290+
display_name: Optional[str] = Field(default=None, description="Human-readable name for the endpoint (optional)")
291291
model_id: str = Field(..., description="Model identifier")
292292
provider_type: str = Field(..., description="Provider type: caii, bedrock, openai, openai_compatible, gemini")
293293
created_at: Optional[str] = Field(default=None, description="Creation timestamp")

0 commit comments

Comments
 (0)