Release-safe operational tasks for standalone LLMProxy deployments.
These functions are intended to be called through bin/llm_proxy eval ...
by systemd jobs or operators. Release eval runs in a new, non-booted VM,
so tasks that need bundled storage start only the local dependencies they use.
Summary
Functions
Runs an interactive OpenAI Codex OAuth login and stores the provider token.
Wait for active work on the running LLMProxy service to reach zero.
Cancel deployment drain mode on the running LLMProxy service.
Start deployment drain mode on the running LLMProxy service.
Print deployment drain status from the running LLMProxy service.
Runs all pending Ecto migrations for the configured LLMProxy repo.
Functions
@spec codex_login([String.t()]) :: :ok
Runs an interactive OpenAI Codex OAuth login and stores the provider token.
@spec drain_await(timeout()) :: :ok
Wait for active work on the running LLMProxy service to reach zero.
@spec drain_cancel() :: :ok
Cancel deployment drain mode on the running LLMProxy service.
@spec drain_start() :: :ok
Start deployment drain mode on the running LLMProxy service.
@spec drain_status() :: :ok
Print deployment drain status from the running LLMProxy service.
@spec migrate() :: :ok
Runs all pending Ecto migrations for the configured LLMProxy repo.