完成世界书、骰子、apiconfig页面处理

This commit is contained in:
2026-04-30 01:35:10 +08:00
parent a3e3711b2b
commit ba9b925c32
4602 changed files with 785225 additions and 23 deletions

17
backend/utils/__init__.py Normal file
View File

@@ -0,0 +1,17 @@
"""
工具类包
提供通用的工具函数和辅助类如文件操作、LLM 调用封装等。
"""
from .file_utils import get_all_roles_and_chats, read_jsonl_file, write_jsonl_file
from .llm_client import get_llm, get_fast_llm, get_creative_llm, get_streaming_llm
__all__ = [
'get_all_roles_and_chats',
'read_jsonl_file',
'write_jsonl_file',
'get_llm',
'get_fast_llm',
'get_creative_llm',
'get_streaming_llm',
]