Pass default pricing via combined yaml config

This commit is contained in:
braginini
2026-07-30 11:54:25 +02:00
parent ac1e909de9
commit 2b7703a54f

View File

@@ -134,3 +134,15 @@ server:
# trustedPeers: [] # CIDRs of trusted peer networks (e.g. ["100.64.0.0/10"])
# accessLogRetentionDays: 7 # Days to retain HTTP access logs. 0 (or unset) defaults to 7. Negative values disable cleanup (logs kept indefinitely).
# accessLogCleanupIntervalHours: 24 # How often (in hours) to run the access-log cleanup job. 0 (or unset) is treated as "not set" and defaults to 24 hours; cleanup remains enabled. To disable cleanup, set accessLogRetentionDays to a negative value.
# Agent network (LLM gateway) settings (optional)
# agentNetwork:
# # Path to the YAML file holding the default LLM pricing table. When empty,
# # {dataDir}/defaults_llm_pricing.yaml is probed; if no file is present the
# # compiled-in defaults are used. Schema: surface ("openai"/"anthropic"/
# # "bedrock") -> model -> rates in USD per 1k tokens (input_per_1k,
# # output_per_1k, and the optional cached_input_per_1k / cache_read_per_1k /
# # cache_creation_per_1k). The file is re-read periodically (mtime poll). An
# # explicitly configured path that fails to load fails startup; runtime
# # reload errors keep the previous table.
# pricingDefaultsFile: "/var/lib/netbird/defaults_llm_pricing.yaml"