mixvideo-v2/apps/desktop/src/pages/MultiTurnChatTestPage.tsx

49 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import { MultiTurnChatTest } from '../components/MultiTurnChatTest';
/**
* 多轮对话测试页面
* 遵循前端开发规范的页面组件设计
*/
export const MultiTurnChatTestPage: React.FC = () => {
return (
<div className="h-screen flex flex-col">
{/* 页面头部 */}
<header className="bg-white border-b border-gray-200 px-6 py-4">
<div className="flex items-center justify-between">
<div>
<h1 className="text-2xl font-bold text-gray-900"></h1>
<p className="text-sm text-gray-600 mt-1">
Gemini API的多轮对话功能
</p>
</div>
<div className="text-sm text-gray-500">
<div>版本: v0.2.1</div>
<div>模型: Gemini 2.5 Flash</div>
</div>
</div>
</header>
{/* 主要内容区域 */}
<main className="flex-1 overflow-hidden">
<MultiTurnChatTest />
</main>
{/* 页面底部 */}
<footer className="bg-gray-50 border-t border-gray-200 px-6 py-3">
<div className="flex items-center justify-between text-sm text-gray-600">
<div>
Tauri + React + TypeScript
</div>
<div className="flex items-center gap-4">
<span>🤖 AI助手</span>
<span>💬 </span>
<span>📝 </span>
<span>🔄 </span>
</div>
</div>
</footer>
</div>
);
};