8000 1.26.0-s.3 by oschwartz10612 · Pull Request #4082 · fosrl/pangolin · GitHub
[go: up one dir, main page]

Skip to content

1.26.0-s.3 - #4082

Merged
oschwartz10612 merged 16 commits into
mainfrom
dev
Nov 9, 2026
Merged

oschwartz10612 merged 16 commits into
mainfrom
dev

Conversation

@oschwartz10612
Copy link
Copy Markdown
Member
  • Add the redirect type back
  • Add the redirect type back
  • Overwrite non-passed values so moving targets don't get old values
  • Jit mode default false
  • fix(ai-gateway): compare budget windows in seconds so period budgets enforce
  • fix(ai-gateway): read Bedrock invoke-with-response-stream usage from base64 chunks
  • Rate limit header auth attempts
  • Only read niceId and orgId from route params in access checks
  • Require a target's site to be in the same org
  • Block duplicate hostnames on non-inference resources
  • Leave OIDC client credentials out of the internal IdP route
  • Strip cookies from AI gateway upstream requests
  • Scope domain reads and rule deletes to their owner
  • Rate limit user lookups per IP
  • Check site access before adding an olm peer
  • Get latest versions from the Fossorial API instead of GitHub

oschwartz10612 and others added 16 commits November 9, 2026 16:23
…enforce

aiUsageRecords.createdAt is epoch seconds since e57826d, but
sumUsageForBudget still compared it against a lower bound in epoch ms, so
every budget except lifetime summed to 0.

Convert the bound to seconds for usage queries, leaving windowStart in ms
for aiBudgetBreachEvents. Sum model-scoped budgets per requested model in
SQL instead of loading every row in the window into JS.
…base64 chunks

invoke-with-response-stream wraps each model event as {"bytes":"<base64>"} inside event-stream frames, so the usage fields never appear in clear text. extractUsage returned null and the pipeline fell back to estimating tokens over the base64, losing real counts and cache tokens. Decode the chunks before scanning.
@oschwartz10612 oschwartz10612 changed the title 1.26.0-s.2 1.26.0-s.3 Nov 9, 2026
@oschwartz10612
oschwartz10612 merged commit 6e783a2 into main Nov 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0