mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-18 05:47:38 +00:00
fix(pricing): content-digest snapshot instead of a wall-clock date
The generated pricing_data_gen.go header used to stamp today's date on every `make pricing-sync` run, so a re-run against genuinely unchanged upstream data still touched the file and produced a spurious daily diff with nothing real to review. The header now records a short SHA-256 digest of the FETCHED bytes instead — identical upstream data always reproduces a byte-identical generated file. Folded review minor.
This commit is contained in:
+3
-2
@@ -4,8 +4,9 @@ package traefikllmgateway
|
||||
// model_prices_and_context_window.json — DO NOT EDIT.
|
||||
//
|
||||
// Source: https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json
|
||||
// Snapshot: 2026-08-22, 236 entries kept (pruned from 3111 upstream entries —
|
||||
// see tools/pricing-sync/main.go's own doc comment for the exact pruning
|
||||
// Source digest: sha256:0e8d23239c27
|
||||
// 236 entries kept (pruned from 3111 upstream entries — see
|
||||
// tools/pricing-sync/main.go's own doc comment for the exact pruning
|
||||
// rule and bare-id collision resolution).
|
||||
//
|
||||
// Regenerate with: make pricing-sync
|
||||
|
||||
Reference in New Issue
Block a user