fix(post-3.5c): ai_routes hermes_stats model 顯示字串清理

Item #9:
- routes/ai_routes.py:1640 hermes_stats['model'] 寫死 'hermes3:latest'
- 改為 'Hermes 3' 更易讀;保留語意(model identifier 給未來可能的下游讀者)

調查確認此 key 為 dead code:
- _build_footprint_block / _build_footprint_json (nemoton_dispatcher_service.py:276,303)
  只讀 duration_sec 和 tokens,不讀 model key
- hermes_analyst_service.py:419 自組 _last_stats 也不放 model key
- 改動不影響 footprint 顯示與 DB 寫入
This commit is contained in:
OoO
2026-04-28 11:39:08 +08:00
parent 67509a4e42
commit dff19ee835

View File

@@ -1637,7 +1637,7 @@ def api_icaim_trigger():
if result.threats:
hermes_stats = {
'model': 'hermes3:latest',
'model': 'Hermes 3', # 顯示用識別符;下游 _build_footprint 不讀此 key
'duration_sec': hermes_duration,
'tokens': result.hermes_tokens,
}