chore: post-deployment cleanup and docs update
- Make AI routing rules DB-driven (read from system_configs, removed from config.py) - Add translation quota tracking to LLM translation (OpenAIProvider) - Add Alibaba MT ECS RAM role support (STS token, no AccessKey needed) - Fix admin sidebar link for AI模型配置 page - Fix Quota.vue API path (quotas → translation-quotas) - Fix login auto-redirect to dashboard - Add provider dropdown selects to AI routing config UI - Clean up stale ai_provider_* system_configs records - Remove OpencodeGo, Spark providers (code + DB) - Update deploy config: nginx port 8000, systemd cwd
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<el-icon><Search /></el-icon>
|
||||
<span>搜索配置</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/system/ai-providers">
|
||||
<el-menu-item index="/system/search-config/ai-providers">
|
||||
<el-icon><Cpu /></el-icon>
|
||||
<span>AI 模型配置</span>
|
||||
</el-menu-item>
|
||||
@@ -128,6 +128,7 @@
|
||||
</div>
|
||||
</el-footer>
|
||||
</el-container>
|
||||
<AiAssistant />
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
@@ -135,6 +136,7 @@
|
||||
import { ref, computed } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import AiAssistant from '@/components/AiAssistant.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
Reference in New Issue
Block a user