mirror of
https://github.com/666ghj/MiroFish.git
synced 2026-04-28 06:31:25 +00:00
Background threads (graph building, simulation prep, report generation, profile generation) now inherit the requesting user's locale preference. Previously these fell back to 'zh' because Flask request context was unavailable in spawned threads.
10 lines
265 B
Python
10 lines
265 B
Python
"""
|
|
工具模块
|
|
"""
|
|
|
|
from .file_parser import FileParser
|
|
from .llm_client import LLMClient
|
|
from .locale import t, get_locale, set_locale, get_language_instruction
|
|
|
|
__all__ = ['FileParser', 'LLMClient', 't', 'get_locale', 'set_locale', 'get_language_instruction']
|
|
|