From 5b80dfacdacfa2e0efbbbfbf440f1a026e27f267 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 22 Oct 2025 12:18:00 +0800 Subject: [PATCH] testing clients --- testing-clients/chat-completions-tester.html | 780 ++++++++++++++++ testing-clients/models-dashboard.html | 903 +++++++++++++++++++ 2 files changed, 1683 insertions(+) create mode 100644 testing-clients/chat-completions-tester.html create mode 100644 testing-clients/models-dashboard.html diff --git a/testing-clients/chat-completions-tester.html b/testing-clients/chat-completions-tester.html new file mode 100644 index 0000000..b179c77 --- /dev/null +++ b/testing-clients/chat-completions-tester.html @@ -0,0 +1,780 @@ + + + + + + Routstr Chat Completions Tester + + + +
+

🚀 Chat Completions Tester

+

Test your /v1/chat/completions endpoint with Cashu authentication

+
+

Configuration

+
+ Quick Presets: + + + +
+
+ + + The full URL to the chat completions endpoint +
+
+ + + Cashu token (without "Bearer " prefix - will be added automatically) +
+
+
+

Request Parameters

+
+ + + +
+
+
+ + + Model identifier (e.g., gpt-4o-mini, claude-3-haiku-20240307) +
+
+ +
+ +
+
+
+ + + Maximum tokens to generate +
+
+ + + Sampling temperature (0-2) +
+
+
+
+
+
+ + + Nucleus sampling parameter +
+
+ + + Optional: Top-k sampling parameter +
+
+
+
+ + + Penalize repeated tokens (-2 to 2) +
+
+ + + Penalize new topics (-2 to 2) +
+
+
+ + + Enable Server-Sent Events streaming +
+
+ + + JSON array of stop sequences +
+
+
+
+
Click "Send Request" to generate cURL command
+
+ +
+ +
+ +
+ + + diff --git a/testing-clients/models-dashboard.html b/testing-clients/models-dashboard.html new file mode 100644 index 0000000..0c8bdc3 --- /dev/null +++ b/testing-clients/models-dashboard.html @@ -0,0 +1,903 @@ + + + + + + Routstr Models Dashboard + + + + +
+

🚀 Routstr Models Dashboard

+

Live pricing updates every second

+
+
+ + + Connected to + localhost:8000 + +
+
+ Last update: --:--:-- +
+
+ Loading models... +
+ +
+ +
Loading models...
+ +
+
+ + + +