Files
memoryweave/deploy/systemd/zhiyi-consolidate.service
T
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

17 lines
584 B
Desktop File

[Unit]
Description=MemoryWeave Rust IPC Sidecar (zhiyi-consolidate)
After=network.target
[Service]
Type=simple
Environment="RUST_LOG=info"
ExecStartPre=/bin/bash -c 'if [ ! -f /home/muc/bin/zhiyi-consolidate ]; then cp /tmp/memoryweave/rust/target/release/zhiyi-consolidate /home/muc/bin/ 2>/dev/null || true; fi'
ExecStart=/home/muc/bin/zhiyi-consolidate --mode socket --socket /tmp/zhiyi-ipc.sock --data-dir /var/lib/memoryweave
Restart=always
RestartSec=5
StandardOutput=append:/tmp/zhiyi-sidecar.log
StandardError=append:/tmp/zhiyi-sidecar.log
[Install]
WantedBy=default.target