Skip to content

Commit

Permalink
fix: default value for max_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Avram Tudor committed Nov 28, 2024
1 parent abf3e7a commit a8aab7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skynet/modules/ttt/summaries/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Priority(Enum):
class DocumentPayload(BaseModel):
text: str
hint: HintType = HintType.MEETING
max_tokens: int = 0
max_tokens: int = None
priority: Priority = Priority.NORMAL
prompt: str | None = None

Expand All @@ -44,7 +44,7 @@ class SummaryDocumentPayload(DocumentPayload):
{
'text': 'Your text here',
'hint': 'meeting',
'max_tokens': 0,
'max_tokens': None,
'priority': 'normal',
'prompt': summary_meeting,
}
Expand Down

0 comments on commit a8aab7d

Please sign in to comment.