MCPcopy
hub / github.com/jingyaogong/minimind / get_text

Function get_text

scripts/web_demo.py:102–104  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

100}
101
102def get_text(key):
103 lang = st.session_state.get('lang', 'en')
104 return LANG_TEXTS.get(lang, {}).get(key, LANG_TEXTS['zh'].get(key, key))
105
106# 工具定义
107TOOLS = [

Callers 2

web_demo.pyFile · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected