[PR #2] [MERGED] refac: move env loading and user auth to benchmarking entrypoint used for all scripts #2

Closed
opened 2026-02-15 21:15:28 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: refac-entrypoint


📝 Commits (1)

  • 995b06f refac: 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 auth subcommands, such as owb auth verify and owb 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/benchmark/pull/2 **Author:** [@westbrook-ai](https://github.com/westbrook-ai) **Created:** 1/11/2026 **Status:** ✅ Merged **Merged:** 1/13/2026 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `refac-entrypoint` --- ### 📝 Commits (1) - [`995b06f`](https://github.com/open-webui/benchmark/commit/995b06f5cd5d57abd4985b8637794ad578ddf785) refac: move env loading and user auth to benchmarking entrypoint used for all scripts ### 📊 Changes **8 files changed** (+733 additions, -119 deletions) <details> <summary>View changed files</summary> 📝 `.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) </details> ### 📄 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 `auth` subcommands, such as `owb auth verify` and `owb auth check`, to enable troubleshooting of the benchmarking process. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:28 -05:00
yindo closed this issue 2026-02-15 21:15:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/benchmark#2