+
+
+ Chat
+ Events
+ API Log
+
+
+
+
+
+ Create a session to start chatting
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/packages/cli/src/serve/demo.ts b/packages/cli/src/serve/demo.ts new file mode 100644 index 0000000000..ea92329972 --- /dev/null +++ b/packages/cli/src/serve/demo.ts @@ -0,0 +1,589 @@ +/** + * @license + * Copyright 2025 Qwen Team + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * Inline HTML for the `/demo` debug page. Served as a single self-contained + * page with no external dependencies so it works without a build step or + * static-file serving. + */ +export function getDemoHtml(_port: number): string { + return /* html */ ` + +
+ + +