mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-04 19:45:14 -04:00
21 lines
513 B
Go
21 lines
513 B
Go
//go:build ignore
|
|
|
|
// Regenerates defaults_llm_pricing.example.yaml from the compiled-in
|
|
// default pricing table. Run via:
|
|
//
|
|
// go generate ./management/internals/modules/agentnetwork/pricing
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/netbirdio/netbird/management/internals/modules/agentnetwork/pricing"
|
|
)
|
|
|
|
func main() {
|
|
if err := os.WriteFile("defaults_llm_pricing.example.yaml", pricing.MarshalDefaultsYAML(), 0o644); err != nil {
|
|
log.Fatalf("write defaults_llm_pricing.example.yaml: %v", err)
|
|
}
|
|
}
|