Add key access allowlists and improve logs filtering#158
Merged
Conversation
…spatcher Move trim/filter normalization to a single canonical location in attachKeyAccessPolicy() (auth.ts) and remove the duplicate logic from getKeyAccessPolicy() in the dispatcher. The dispatcher now trusts that the policy metadata is already clean, with a comment noting the dependency.
Owner
|
Really nicely done PR, and thanks for the SPA fix - I had been meaning to get to that. I'm going to follow it up with a UI change to make the selectors drop downs with filtering, and then will cut a release. |
github-actions Bot
pushed a commit
that referenced
this pull request
Apr 13, 2026
Add key access allowlists and improve logs filtering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allowedModelsandallowedProvidersto API key config and persist them in SQLite/PostgresapiKeyfilter in the Logs UI and fix/ui/*SPA deep-link handlingDetails
Migration Note
request_usage.vision_fallthrough_model, which Drizzle surfaced as existing schema/migration driftVerification
docker run --rm -v "$HOME"/Projects/plexus-new:/work -w /work oven/bun:1 bash -lc 'bun install --frozen-lockfile >/tmp/bun-install.log && cd packages/backend && bun test src/routes/inference/__tests__/auth.test.ts src/services/__tests__/dispatcher-failover.test.ts src/services/__tests__/usage-storage-performance.test.ts'docker run --rm -v "$HOME"/Projects/plexus-new:/work -w /work oven/bun:1 bash -lc 'bun install --frozen-lockfile >/tmp/bun-install.log && cd packages/frontend && bun run build'192.168.66.12:/ui/logsloads successfullyapiKeylog filtering works