mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-10 15:56:03 +00:00
feat: read mcp servers from config.yaml (#1320)
This commit is contained in:
committed by
GitHub
parent
deb22739b7
commit
4417b61fd1
@@ -10,7 +10,7 @@ from .. import note, app
|
||||
|
||||
@note.note_class("PrintVersion", 3)
|
||||
class PrintVersion(note.LaunchNote):
|
||||
"""打印版本信息
|
||||
"""Print Version Information
|
||||
"""
|
||||
|
||||
async def need_show(self) -> bool:
|
||||
@@ -18,4 +18,4 @@ class PrintVersion(note.LaunchNote):
|
||||
|
||||
async def yield_note(self) -> typing.AsyncGenerator[typing.Tuple[str, int], None]:
|
||||
|
||||
yield f"当前版本:{self.ap.ver_mgr.get_current_version()}", logging.INFO
|
||||
yield f"Current Version: {self.ap.ver_mgr.get_current_version()}", logging.INFO
|
||||
|
||||
Reference in New Issue
Block a user