Initial Commit

This commit is contained in:
2026-09-15 15:24:03 -04:00
commit 4dc7086e7e
605 changed files with 101380 additions and 0 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Run the full tool smoke test the way Open WebUI reaches the suite:
# from openwebui_default, through the gateway, with a real bearer token.
#
# ./tests/smoke.sh normal
# ./tests/smoke.sh -v also print the first lines of each response
set -euo pipefail
cd "$(dirname "$0")/.."
set -a; . ./.env; set +a
exec docker run --rm \
--network openwebui_default \
-e OWUITOOLS_AUTH_TOKEN="${OWUITOOLS_AUTH_TOKEN}" \
-e OWUITOOLS_MAX_RESPONSE_CHARS="${OWUITOOLS_MAX_RESPONSE_CHARS:-12000}" \
-v "$(pwd)/tests/smoke.py:/smoke.py:ro" \
--entrypoint python \
local/owuitools-api:latest /smoke.py "$@"