Add runtime mode selection to AssistantPage and configure allowed development origins

Introduced a new feature in AssistantPage allowing users to select between 'pipeline' and 'realtime' runtime modes, enhancing the flexibility of the assistant's functionality. Updated the configuration to include 'allowedDevOrigins' for local development. This change improves user experience by providing clear options for runtime configurations and streamlining the development process.
This commit is contained in:
Xin Wang
2026-06-07 11:39:37 +08:00
parent d090b49001
commit 7b80852e03
2 changed files with 139 additions and 51 deletions

View File

@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
allowedDevOrigins: ["127.0.0.1"],
};
export default nextConfig;