diff --git a/daiv/automation/agents/pr_describer/schemas.py b/daiv/automation/agents/pr_describer/schemas.py index ae5d1a2..ff92f9a 100644 --- a/daiv/automation/agents/pr_describer/schemas.py +++ b/daiv/automation/agents/pr_describer/schemas.py @@ -2,8 +2,14 @@ class PullRequestDescriberOutput(BaseModel): - branch: str = Field(description="The branch name.") - title: str = Field(description="Title with a short and concise description of the changes.") + branch: str = Field( + description=( + "The branch name. No spaces are allowed in branch names. " + "You can use numbers, hyphens (-), underscores (_), lowercase letters from the ASCII standard table " + "or forward slashes (/)." + ) + ) + title: str = Field(description="Title with no more than 10 words and concise description of the changes.") description: str = Field(description=("Description of the functional changes.")) summary: list[str] = Field( description=(