MCPcopy Create free account
hub / github.com/NatsUIJM/autoContents / generate_random_string

Function generate_random_string

app.py:62–65  ·  view source on GitHub ↗

生成指定长度的随机字母数字组合

(length=6)

Source from the content-addressed store, hash-verified

60 json.dump(data, f, ensure_ascii=False, indent=2)
61
62def get_active_llm_config():
63 """获取当前可用的 LLM 配置(统一走 llm_config 模块,出错时回退默认值)。"""
64 try:
65 return load_llm_config()
66 except ValueError:
67 return {
68 "api_key": "",

Callers 1

generate_session_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected