community[patch]: docstrings (#16810)

- added missed docstrings
- formated docstrings to the consistent form
This commit is contained in:
Leonid Ganeline
2024-02-09 12:48:57 -08:00
committed by GitHub
parent ae66bcbc10
commit 932c52c333
25 changed files with 66 additions and 18 deletions

View File

@@ -20,11 +20,15 @@ logger = logging.getLogger(__name__)
class ref(BaseModel):
"""Reference used in CharacterGLM."""
enable: bool = Field(True)
search_query: str = Field("")
class meta(BaseModel):
"""Metadata used in CharacterGLM."""
user_info: str = Field("")
bot_info: str = Field("")
bot_name: str = Field("")