Commit Graph
4 Commits
Author SHA1 Message Date
小唯 f4d5d2174d deploy: t_f57b8bbf root-fix deploy flow - unified deploy.sh + PartOf= coupling + post-deploy verify
scripts/deploy.sh: build go+rust -> install (not cp) -> stop/reload/start both -> verify (is-active, no (deleted) inode, running-binary checksum == this build, /health=200). --verify-only flag for check-only. make deploy points at this script (replaces stale /usr/local/bin system-level target). Counter-example: install stale sidecar -> service stays active + health=200 (silent pass) -> make deploy-verify exits non-zero (catches silent fault). PartOf=zhiyid.service drop-in on zhiyi-consolidate + ExecStartPre rm /tmp/zhiyi-ipc.sock; restarting zhiyid now restarts sidecar (ActiveEnterTimestamp updates). deploy/ dir aligned to reality and desensitized (3 plaintext keys removed). Key cleanup in git history is a separate track - this card does not touch history. ACs verified. go test internal/governance failures are pre-existing rename tests, unrelated (this card touches no go/ code).
2026-10-08 11:43:43 +08:00
小唯 cb9a182c77 rerank: RERANK_ENDPOINT 指向本地 8001 bge-embed(local cosine rerank) 2026-09-22 01:59:10 +08:00
小唯 003f43834d security: 迁移活消费者到主密钥 + keyfile 读取(legacy 行删除收口)
- plugins/hermes-zhiyi/__init__.py: ZHIYI_API_KEY 读 keyfile 主密钥(env 优先)
- cli-anything/.../client.py: DEFAULT_KEY 读 keyfile
- deploy/zhiyi-backup.sh: curl 用 $ZHIYI_KEY(从 keyfile 取)
- 配合 keyfile 删除 legacy: 行后全系统活消费者零旧 key 残留
2026-09-22 01:07:10 +08:00
xiaowei 2a350cf781 fix(distill): max_tokens 800→1200 — Agnes推理token预算不足
Agnes 2.0-flash是推理模型,推理token占大量预算。
800仍不够→JSON截断(parse error: unexpected end of JSON input)。
1200确保推理+正文都够用。
2026-08-20 01:13:06 +08:00