Skip to content

Commit

Permalink
Improved definition of branch naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
srtab committed Oct 23, 2024
1 parent 58680f4 commit ce7ead4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions daiv/automation/agents/pr_describer/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down

0 comments on commit ce7ead4

Please sign in to comment.