实例增加实盘说明页(API/账户模式/env),系统设置可关闭导航显示。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -153,6 +153,10 @@ def settings_page_context(page: str, *, instance_base_dir: str | None = None, **
|
||||
from lib.instance.instance_system_guide_lib import system_guide_template_context
|
||||
|
||||
return system_guide_template_context()
|
||||
if p == "live_guide":
|
||||
from lib.instance.instance_live_guide_lib import live_guide_template_context
|
||||
|
||||
return live_guide_template_context()
|
||||
if p not in ("settings", "risk_policy", "env_config"):
|
||||
return {}
|
||||
display = kwargs.pop("display", None)
|
||||
|
||||
Reference in New Issue
Block a user