refactor: reorganize interaction chain

This commit is contained in:
jxxghp
2026-05-01 09:53:04 +08:00
parent db6dc926cf
commit 4d0a722b09
12 changed files with 1975 additions and 1988 deletions
+3 -2
View File
@@ -7,7 +7,7 @@ from urllib.parse import urljoin
from lxml import etree
from app.chain import ChainBase
from app.helper.slash import (
from app.helper.interaction import (
SlashInteractionManager,
build_navigation_buttons,
format_markdown_table,
@@ -1060,8 +1060,9 @@ class SiteChain(ChainBase):
original_chat_id=original_chat_id,
)
@staticmethod
def _format_site_list(
self, site_list: List[Site], channel: Optional[MessageChannel]
site_list: List[Site], channel: Optional[MessageChannel]
) -> str:
"""
根据渠道能力格式化站点列表。