mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
workign on claude
This commit is contained in:
parent
97ec0a888c
commit
903f8aaecc
5 changed files with 27 additions and 24 deletions
|
|
@ -16,3 +16,7 @@ Vue 3.x
|
|||
# API Documentation
|
||||
After starting, open: http://localhost:8002/xiaozhi/doc.html
|
||||
|
||||
run app
|
||||
|
||||
|
||||
npm run serve
|
||||
|
|
@ -497,14 +497,14 @@ onMounted(async () => {
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 模型配置标题 -->
|
||||
<!--Model Configuration标题 -->
|
||||
<view class="pb-[20rpx]">
|
||||
<text class="text-[32rpx] text-[#232338] font-bold">
|
||||
模型配置
|
||||
Model Configuration
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<!-- 模型配置卡片 -->
|
||||
<!--Model Configuration卡片 -->
|
||||
<view class="mb-[24rpx] border border-[#eeeeee] rounded-[20rpx] bg-[#fbfbfb] p-[24rpx]" style="box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);">
|
||||
<view class="flex flex-col gap-[16rpx]">
|
||||
<view class="flex cursor-pointer items-center justify-between border border-[#eeeeee] rounded-[12rpx] bg-[#f5f7fb] p-[20rpx] transition-all duration-300 active:bg-[#eef3ff]" @click="openPicker('vad')">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<img loading="lazy" src="@/assets/login/shield.png" alt=""
|
||||
style="width: 19px;height: 23px; filter: brightness(0) invert(1);" />
|
||||
</div>
|
||||
修改密码
|
||||
Change Password
|
||||
</div>
|
||||
<div style="height: 1px;background: #e8f0ff;" />
|
||||
<div style="margin: 22px 15px;">
|
||||
|
|
|
|||
|
|
@ -14,25 +14,25 @@
|
|||
@click="goHome">
|
||||
<img loading="lazy" alt="" src="@/assets/header/robot.png"
|
||||
:style="{ filter: $route.path === '/home' || $route.path === '/role-config' || $route.path === '/device-management' ? 'brightness(0) invert(1)' : 'None' }" />
|
||||
智能体管理
|
||||
Agent Management
|
||||
</div>
|
||||
<div v-if="isSuperAdmin" class="equipment-management" :class="{ 'active-tab': $route.path === '/model-config' }"
|
||||
@click="goModelConfig">
|
||||
<img loading="lazy" alt="" src="@/assets/header/model_config.png"
|
||||
:style="{ filter: $route.path === '/model-config' ? 'brightness(0) invert(1)' : 'None' }" />
|
||||
模型配置
|
||||
Model Configuration
|
||||
</div>
|
||||
<div v-if="isSuperAdmin" class="equipment-management"
|
||||
:class="{ 'active-tab': $route.path === '/user-management' }" @click="goUserManagement">
|
||||
<img loading="lazy" alt="" src="@/assets/header/user_management.png"
|
||||
:style="{ filter: $route.path === '/user-management' ? 'brightness(0) invert(1)' : 'None' }" />
|
||||
用户管理
|
||||
User Management
|
||||
</div>
|
||||
<div v-if="isSuperAdmin" class="equipment-management"
|
||||
:class="{ 'active-tab': $route.path === '/ota-management' }" @click="goOtaManagement">
|
||||
<img loading="lazy" alt="" src="@/assets/header/firmware_update.png"
|
||||
:style="{ filter: $route.path === '/ota-management' ? 'brightness(0) invert(1)' : 'None' }" />
|
||||
OTA管理
|
||||
OTA Management
|
||||
</div>
|
||||
<el-dropdown v-if="isSuperAdmin" trigger="click" class="equipment-management more-dropdown"
|
||||
:class="{ 'active-tab': $route.path === '/dict-management' || $route.path === '/params-management' || $route.path === '/provider-management' || $route.path === '/server-side-management' }"
|
||||
|
|
@ -40,21 +40,21 @@
|
|||
<span class="el-dropdown-link">
|
||||
<img loading="lazy" alt="" src="@/assets/header/param_management.png"
|
||||
:style="{ filter: $route.path === '/dict-management' || $route.path === '/params-management' || $route.path === '/provider-management' || $route.path === '/server-side-management' ? 'brightness(0) invert(1)' : 'None' }" />
|
||||
参数字典
|
||||
Parameter Dictionary
|
||||
<i class="el-icon-arrow-down el-icon--right" :class="{ 'rotate-down': paramDropdownVisible }"></i>
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item @click.native="goParamManagement">
|
||||
参数管理
|
||||
Parameter Management
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="goDictManagement">
|
||||
字典管理
|
||||
Dictionary Management
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="goProviderManagement">
|
||||
Provider
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="goServerSideManagement">
|
||||
服务端管理
|
||||
Server Side Management
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
|
|
@ -75,8 +75,8 @@
|
|||
<i class="el-icon-arrow-down el-icon--right" :class="{ 'rotate-down': userDropdownVisible }"></i>
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item @click.native="showChangePasswordDialog">修改密码</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="handleLogout">退出登录</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="showChangePasswordDialog">Change Password</el-dropdown-item>
|
||||
<el-dropdown-item @click.native="handleLogout">log out</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -270,24 +270,23 @@ Memory:
|
|||
ASR:
|
||||
|
||||
DeepgramASR:
|
||||
# Deepgram Nova-2 ASR - High accuracy speech recognition
|
||||
# Get API key here: https://console.deepgram.com/
|
||||
# Supports 100+ languages with excellent accuracy
|
||||
|
||||
type: deepgram
|
||||
api_key: 2bc99f78312157bb1e017a2596b45c71bfe5f6ba
|
||||
# Model options: nova-3 (latest), nova, enhanced, base
|
||||
|
||||
model: nova-3
|
||||
# Language code (e.g., en, zh, es, fr, de, ja, ko, etc.)
|
||||
|
||||
language: en-IN
|
||||
# Smart formatting (punctuation, capitalization, number formatting)
|
||||
|
||||
smart_format: true
|
||||
# Add punctuation
|
||||
|
||||
punctuate: true
|
||||
# Speaker diarization (identify different speakers)
|
||||
|
||||
diarize: false
|
||||
# Multichannel processing
|
||||
|
||||
multichannel: false
|
||||
# Request timeout in seconds
|
||||
output_dir: tmp/
|
||||
|
||||
timeout: 60
|
||||
FunASR:
|
||||
type: fun_local
|
||||
|
|
|
|||
Loading…
Reference in a new issue