update
This commit is contained in:
@@ -68,3 +68,12 @@ class SuggestionResponse(BaseModel):
|
||||
example: str
|
||||
status: str
|
||||
created_at: str
|
||||
|
||||
|
||||
class TopicSuggestRequest(BaseModel):
|
||||
problem: str = Field(min_length=1, max_length=2000)
|
||||
|
||||
|
||||
class TopicSuggestion(BaseModel):
|
||||
title: str
|
||||
reason: str
|
||||
|
||||
Reference in New Issue
Block a user