23 lines
740 B
Desktop File
23 lines
740 B
Desktop File
[Unit]
|
|
Description=Refresh the NeuralWatt model catalog and re-resolve tiers
|
|
Documentation=file:%h/llm-router/CLAUDE.md
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=%h/llm-router
|
|
Environment=PYTHONPATH=%h/llm-router/src
|
|
EnvironmentFile=%h/llm-router/.env
|
|
# poller refreshes the catalog; tier re-resolves tiers from it. Tiers
|
|
# are derived from cost and reasoning fields the poll may have changed, so
|
|
# they always run as a pair. PYTHONPATH above resolves src/ for `-m` imports.
|
|
ExecStart=%h/llm-router/.venv/bin/python -m poller
|
|
ExecStart=%h/llm-router/.venv/bin/python -m tier
|
|
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=read-only
|
|
ReadWritePaths=%h/llm-router
|