gateway: build-time patch keeping image-gen pricing on the shared cost-map key (upstream #10023/#12471) so image spend is tracked
This commit is contained in:
1 parent
9d95527e93
commit
79f0447089
2 files changed
+81
No files matched your search
@@ -29,6 +29,12 @@ COPY config.yaml /app/data/config.yaml
|
||||
COPY patch_budget_message.py /app/code/patch_budget_message.py
|
||||
RUN python3 /app/code/patch_budget_message.py
|
||||
|
||||
# Image-cost tracking: keep image-generation pricing on the shared cost-map
|
||||
# key so successful image generations appear in SpendLogs (upstream bug
|
||||
# BerriAI/litellm#10023/#12471 — closed not-planned). Non-fatal at build.
|
||||
COPY patch_image_cost.py /app/code/patch_image_cost.py
|
||||
RUN python3 /app/code/patch_image_cost.py
|
||||
|
||||
# Audio keep-alive: scheduled pings keep the Tinfoil TEE audio enclave
|
||||
# warm so voice mode skips the ~24s cold-start (see audio_keepalive.py header).
|
||||
COPY audio_keepalive.py /app/code/audio_keepalive.py
|
||||
|
||||
Reference in new issue
Block a user