mirror of
https://github.com/open-webui/benchmark.git
synced 2026-11-05 01:17:29 +00:00
[PR #2] [MERGED] refac: move env loading and user auth to benchmarking entrypoint used for all scripts #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/benchmark#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/benchmark/pull/2
Author: @james-westbrook
Created: 1/11/2026
Status: ✅ Merged
Merged: 1/14/2026
Merged by: @tjbck
Base:
main← Head:refac-entrypoint📝 Commits (1)
995b06frefac: move env loading and user auth to benchmarking entrypoint used for all scripts📊 Changes
8 files changed (+733 additions, -119 deletions)
View changed files
📝
.env.example(+2 -1)➕
benchmark/auth/__init__.py(+20 -0)➕
benchmark/auth/authenticator.py(+216 -0)➕
benchmark/auth/entrypoint.py(+185 -0)📝
benchmark/cli.py(+112 -0)📝
benchmark/scenarios/channels.py(+72 -73)📝
examples/custom_benchmark.py(+36 -28)📝
examples/run_channel_benchmark.py(+90 -17)📄 Description
This PR moves environment variable loading and OWUI authentication to a single entrypoint for shared use across all benchmarking scripts. It also adds new benchmarking
authsubcommands, such asowb auth verifyandowb auth check, to enable troubleshooting of the benchmarking process.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.