mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-22 08:00:51 +00:00
Admin/browser: - Enable admin UI on bare (zero-arg) launch; auto-open default browser (main_helpers::bootstrap::admin_enabled / is_default_launch, browser.rs). - Guard Docker (docker-entrypoint.sh) and systemd (packaging/anyllm-proxy.service) so headless server installs keep admin opt-in (DISABLE_ADMIN default off). Claude Code tier router fixes (from code review): - put.rs: validate only *enabled* tiers, and accept statically-configured (all_backends) targets via new SharedState.static_backends, not just managed. - openai_signals: drop historical reasoning_content check so a plain follow-up in a reasoning conversation isn't misrouted to the Think tier. - resolve_router_tier: warn! on fail-open when an active tier's backend is unknown instead of silently bypassing the router. Tests: static-config backend acceptance; existing router coverage still green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
31 lines
835 B
Desktop File
31 lines
835 B
Desktop File
[Unit]
|
|
Description=AnYLLM Translation Proxy
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=anyllm
|
|
Group=anyllm
|
|
# The binary enables the admin UI by default on a bare (no-arg) launch, which
|
|
# would otherwise start a loopback-only admin server (and attempt a browser
|
|
# open) on every headless service start. Keep admin opt-in on servers: default
|
|
# it off here. Set `DISABLE_ADMIN=` (blank) + admin bind vars in
|
|
# /etc/default/anyllm-proxy to re-enable; the EnvironmentFile below overrides
|
|
# this line.
|
|
Environment=DISABLE_ADMIN=1
|
|
EnvironmentFile=-/etc/default/anyllm-proxy
|
|
ExecStart=/usr/bin/anyllm-proxy
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
LimitNOFILE=65536
|
|
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/anyllm
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|