feat: 增强文档和监控功能
主要更新: - 完善 README 文档,新增中文详细使用说明与监控中心介绍 - 优化 README.md 文档内容和格式,增加英文和中文文档切换链接 - 新增监控中心模块,支持请求日志、统计分析和模型管理 - 增强 AI 提供商配置页面,添加配置搜索功能 - 更新 .gitignore,移除无效注释和调整条目名称 - 删除 README_CN.md 文件,统一文档结构 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,7 +95,8 @@
|
||||
"usage_stats": "Usage Statistics",
|
||||
"config_management": "Config Management",
|
||||
"logs": "Logs Viewer",
|
||||
"system_info": "Management Center Info"
|
||||
"system_info": "Management Center Info",
|
||||
"monitor": "Monitor Center"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "Dashboard",
|
||||
@@ -324,7 +325,10 @@
|
||||
"openai_test_success": "Test succeeded. The model responded.",
|
||||
"openai_test_failed": "Test failed",
|
||||
"openai_test_select_placeholder": "Choose from current models",
|
||||
"openai_test_select_empty": "No models configured. Add models first"
|
||||
"openai_test_select_empty": "No models configured. Add models first",
|
||||
"search_placeholder": "Search configs (keys, URLs, models...)",
|
||||
"search_empty_title": "No matching configs",
|
||||
"search_empty_desc": "Try a different keyword or clear the search box"
|
||||
},
|
||||
"auth_files": {
|
||||
"title": "Auth Files Management",
|
||||
@@ -906,5 +910,170 @@
|
||||
"build_date": "Build Time",
|
||||
"version": "Management UI Version",
|
||||
"author": "Author"
|
||||
},
|
||||
"monitor": {
|
||||
"title": "Monitor Center",
|
||||
"time_range": "Time Range",
|
||||
"today": "Today",
|
||||
"last_n_days": "Last {{n}} Days",
|
||||
"api_filter": "API Query",
|
||||
"api_filter_placeholder": "Query API data",
|
||||
"apply": "Apply",
|
||||
"no_data": "No data available",
|
||||
"requests": "Requests",
|
||||
"kpi": {
|
||||
"requests": "Requests",
|
||||
"success": "Success",
|
||||
"failed": "Failed",
|
||||
"rate": "Success Rate",
|
||||
"tokens": "Tokens",
|
||||
"input": "Input",
|
||||
"output": "Output",
|
||||
"reasoning": "Reasoning",
|
||||
"cached": "Cached",
|
||||
"avg_tpm": "Avg TPM",
|
||||
"avg_rpm": "Avg RPM",
|
||||
"avg_rpd": "Avg RPD",
|
||||
"tokens_per_minute": "Tokens per minute",
|
||||
"requests_per_minute": "Requests per minute",
|
||||
"requests_per_day": "Requests per day"
|
||||
},
|
||||
"distribution": {
|
||||
"title": "Model Usage Distribution",
|
||||
"by_requests": "By Requests",
|
||||
"by_tokens": "By Tokens",
|
||||
"requests": "Requests",
|
||||
"tokens": "Tokens",
|
||||
"request_share": "Request Share",
|
||||
"token_share": "Token Share"
|
||||
},
|
||||
"trend": {
|
||||
"title": "Daily Usage Trend",
|
||||
"subtitle": "Requests and Token usage trend",
|
||||
"requests": "Requests",
|
||||
"input_tokens": "Input Tokens",
|
||||
"output_tokens": "Output Tokens",
|
||||
"reasoning_tokens": "Reasoning Tokens",
|
||||
"cached_tokens": "Cached Tokens"
|
||||
},
|
||||
"hourly": {
|
||||
"last_6h": "Last 6 Hours",
|
||||
"last_12h": "Last 12 Hours",
|
||||
"last_24h": "Last 24 Hours",
|
||||
"all": "All",
|
||||
"requests": "Requests",
|
||||
"success_rate": "Success Rate"
|
||||
},
|
||||
"hourly_model": {
|
||||
"title": "Hourly Model Request Distribution",
|
||||
"models": "Models"
|
||||
},
|
||||
"hourly_token": {
|
||||
"title": "Hourly Token Usage",
|
||||
"subtitle": "By Hour",
|
||||
"total": "Total Tokens",
|
||||
"input": "Input",
|
||||
"output": "Output",
|
||||
"reasoning": "Reasoning",
|
||||
"cached": "Cached"
|
||||
},
|
||||
"channel": {
|
||||
"title": "Channel Statistics",
|
||||
"subtitle": "Grouped by source channel",
|
||||
"click_hint": "Click row to expand model details",
|
||||
"all_channels": "All Channels",
|
||||
"all_models": "All Models",
|
||||
"all_status": "All Status",
|
||||
"only_success": "Success Only",
|
||||
"only_failed": "Failed Only",
|
||||
"header_name": "Channel",
|
||||
"header_count": "Requests",
|
||||
"header_rate": "Success Rate",
|
||||
"header_recent": "Recent Status",
|
||||
"header_time": "Last Request",
|
||||
"model_details": "Model Details",
|
||||
"model": "Model",
|
||||
"success": "Success",
|
||||
"failed": "Failed"
|
||||
},
|
||||
"time": {
|
||||
"today": "Today",
|
||||
"last_n_days": "{{n}} Days",
|
||||
"custom": "Custom",
|
||||
"to": "to",
|
||||
"apply": "Apply"
|
||||
},
|
||||
"failure": {
|
||||
"title": "Failure Analysis",
|
||||
"subtitle": "Locate issues by source channel",
|
||||
"click_hint": "Click row to expand details",
|
||||
"no_failures": "No failure data",
|
||||
"header_name": "Channel",
|
||||
"header_count": "Failures",
|
||||
"header_time": "Last Failure",
|
||||
"header_models": "Top Failed Models",
|
||||
"all_failed_models": "All Failed Models"
|
||||
},
|
||||
"logs": {
|
||||
"title": "Request Logs",
|
||||
"total_count": "{{count}} records",
|
||||
"sort_hint": "Auto sorted by time desc",
|
||||
"scroll_hint": "Scroll to browse all data",
|
||||
"virtual_scroll_info": "Showing {{visible}} rows, {{total}} records total",
|
||||
"all_apis": "All APIs",
|
||||
"all_models": "All Models",
|
||||
"all_sources": "All Sources",
|
||||
"all_status": "All Status",
|
||||
"all_provider_types": "All Providers",
|
||||
"success": "Success",
|
||||
"failed": "Failed",
|
||||
"last_update": "Last Update",
|
||||
"manual_refresh": "Manual Refresh",
|
||||
"refresh_5s": "5s Refresh",
|
||||
"refresh_10s": "10s Refresh",
|
||||
"refresh_15s": "15s Refresh",
|
||||
"refresh_30s": "30s Refresh",
|
||||
"refresh_60s": "60s Refresh",
|
||||
"refresh_in_seconds": "Refresh in {{seconds}}s",
|
||||
"refreshing": "Refreshing...",
|
||||
"header_auth": "Auth Index",
|
||||
"header_api": "API",
|
||||
"header_request_type": "Type",
|
||||
"header_model": "Model",
|
||||
"header_source": "Source",
|
||||
"header_status": "Status",
|
||||
"header_recent": "Recent Status",
|
||||
"header_rate": "Success Rate",
|
||||
"header_count": "Requests",
|
||||
"header_input": "Input",
|
||||
"header_output": "Output",
|
||||
"header_total": "Total Tokens",
|
||||
"header_time": "Time",
|
||||
"header_actions": "Actions",
|
||||
"showing": "Showing {{start}}-{{end}} of {{total}}",
|
||||
"page_info": "Page {{current}}/{{total}}",
|
||||
"first_page": "First",
|
||||
"prev_page": "Prev",
|
||||
"next_page": "Next",
|
||||
"last_page": "Last",
|
||||
"disable": "Disable",
|
||||
"disable_model": "Disable this model",
|
||||
"disabled": "Disabled",
|
||||
"removed": "Removed",
|
||||
"disabling": "Disabling...",
|
||||
"disable_confirm_title": "Confirm Disable Model",
|
||||
"disable_error": "Disable failed",
|
||||
"disable_error_no_provider": "Cannot identify provider",
|
||||
"disable_error_provider_not_found": "Provider config not found: {{provider}}",
|
||||
"disable_not_supported": "{{provider}} provider does not support disable operation",
|
||||
"disable_unsupported_title": "Auto-disable Not Supported",
|
||||
"disable_unsupported_desc": "{{providerType}} type providers do not support auto-disable feature.",
|
||||
"disable_unsupported_guide_title": "Manual Operation Guide",
|
||||
"disable_unsupported_guide_step1": "1. Go to the \"AI Providers\" page",
|
||||
"disable_unsupported_guide_step2": "2. Find the corresponding {{providerType}} configuration",
|
||||
"disable_unsupported_guide_step3": "3. Edit the config and remove model \"{{model}}\"",
|
||||
"disable_unsupported_guide_step4": "4. Save the configuration to apply changes",
|
||||
"disable_unsupported_close": "Got it"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user