refactor: 统一 TypeORM CLI 数据源配置,执行废弃列清理迁移

- data/db/data-source-cli.cjs → .ts,复用 config 模块的 pgsql 配置
- 新增迁移 CleanupTradingPairDeprecatedColumns,删除 trading_pairs 表三个废弃列
- reasonix.toml: model 升级 deepseek-pro,启用中文
This commit is contained in:
Rekey
2026-06-16 12:29:23 +08:00
parent f755f76ed1
commit d8a2f4bb52
3 changed files with 71 additions and 4 deletions
+4 -4
View File
@@ -3,8 +3,8 @@
# Secrets come from the environment via api_key_env; never put keys here.
config_version = 2 # schema marker for diagnostics; old versions may ignore it
default_model = "deepseek-flash"
# language = "zh" # ui/model language; empty = auto-detect from $LANG / $REASONIX_LANG
default_model = "deepseek-pro"
language = "zh" # ui/model language; empty = auto-detect from $LANG / $REASONIX_LANG
[agent]
# system_prompt = """...""" # omit to use the built-in prompt for this version
@@ -13,8 +13,8 @@ max_steps = 0 # executor tool-call rounds; 0 = no limit
planner_max_steps = 12 # planner read-only tool-call rounds; 0 = no limit
temperature = 0.0
auto_plan = "off" # off|on; off keeps plan mode manual
# reasoning_language = "zh" # visible reasoning language: auto|zh|en
# auto_plan_classifier = "deepseek-flash" # optional; only used for borderline tasks
reasoning_language = "zh" # visible reasoning language: auto|zh|en
# auto_plan_classifier = "deepseek-pro" # optional; only used for borderline tasks
soft_compact_ratio = 0.5 # notice only; keeps cache-first prefix intact
compact_ratio = 0.8 # try compacting when prompt reaches this fraction
compact_force_ratio = 0.9 # force compacting at this high-water mark