fix: 多处对 launcher_type 枚举的不当比较 (#736)

This commit is contained in:
RockChinQ
2024-03-23 22:39:42 +08:00
parent 7b060ce3f9
commit 835275b47f
3 changed files with 13 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ class Conversation(pydantic.BaseModel):
class Session(pydantic.BaseModel):
"""会话,一个 Session 对应一个 {launcher_type}_{launcher_id}"""
"""会话,一个 Session 对应一个 {launcher_type.value}_{launcher_id}"""
launcher_type: LauncherTypes
launcher_id: int