fix: skills variable init + ChatPage show all published apps + populate skill content

This commit is contained in:
qyyfw committed 2026-07-03 12:10:37 +08:00
1 parent 5d9d420525
commit 5d1ad26874
2 files changed
+6 -4

No files matched your search

+2
View File
@@ -875,6 +875,8 @@ async def send_message(
ai_content = ""
ai_model = None
skills = [] # 初始化避免UnboundLocalError
agents = [] # 初始化避免UnboundLocalError
if model_id:
ai_model = db.query(AIModel).filter(AIModel.id == model_id).first()