Agnes 2.0-flash是推理模型,推理token占大量预算。 800仍不够→JSON截断(parse error: unexpected end of JSON input)。 1200确保推理+正文都够用。
17 lines
584 B
Desktop File
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
|