Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.15.20
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -16,7 +16,7 @@ repos:
stages: [pre-commit]

- repo: https://github.com/pycqa/isort
rev: 6.0.1
rev: 9.0.0a3
hooks:
- id: isort
stages: [pre-commit]
8 changes: 5 additions & 3 deletions nonebot_plugin_deepseek/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@
"model#模型名称",
str,
Field(
completion=lambda: f"请输入 TTS 模型预设名,预期为:"
f"{list(json_config.available_tts_models.keys())[:10]}…… 其中之一\n"
"输入 `/deepseek tts -l` 查看所有 TTS 模型及角色"
completion=lambda: (
f"请输入 TTS 模型预设名,预期为:"
f"{list(json_config.available_tts_models.keys())[:10]}…… 其中之一\n"
"输入 `/deepseek tts -l` 查看所有 TTS 模型及角色"
)
),
],
dest="set",
Expand Down
Loading