mirror of
https://github.com/open-webui/benchmark.git
synced 2026-07-19 14:05:52 -04:00
[PR #2] [MERGED] refac: move env loading and user auth to benchmarking entrypoint used for all scripts #2
Reference in New Issue
Block a user
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: @westbrook-ai
Created: 1/11/2026
Status: ✅ Merged
Merged: 1/13/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.