Documentation
¶
Index ¶
Constants ¶
const DefaultCatalogRefreshInterval = 10 * time.Minute
DefaultCatalogRefreshInterval is the documented default for the background model-catalog reload. Operators can change it with CLI2API_CATALOG_REFRESH_INTERVAL (a Go duration such as 30s or 15m, or plain minutes); 0 disables the loop and leaves only manual/console refreshes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Host string
Port int
ProxyAPIKey string
ProxyURL string
MaxRetryAccounts int
QoderHome string
DataDir string
RuntimeDir string
WorkerBasePort int
NodeBinary string
WorkerDaemonPath string
QoderCLIPath string
QoderCNCLIPath string
PlainTemplatePath string
UpdateSocketPath string
UpdateAgentURL string
UpdateAgentToken string
UpdateGitHubToken string
CatalogRefreshInterval time.Duration
// CreditFloor is the global default credit floor. Zero disables the gate;
// per-account credit_floor overrides it when set.
CreditFloor float64
// PercentFloor is the global default floor for percent-denominated quota
// snapshots (remaining percent). Zero disables the percent gate; a
// per-account percent_floor overrides it when set.
PercentFloor float64
}