添加ai支持
This commit is contained in:
@@ -36,7 +36,66 @@
|
||||
"warehouse": "Warehouse",
|
||||
"warehouse_items": "Items Overview",
|
||||
"work_order": "Work Order",
|
||||
"calendar": "Calendar"
|
||||
"calendar": "Calendar",
|
||||
"aichat": "AI Chat"
|
||||
},
|
||||
"aichat": {
|
||||
"title": "AI Chat",
|
||||
"subtitle": "Chat with the AI assistant using streaming responses and backend tool traces.",
|
||||
"empty_title": "Start an AI chat",
|
||||
"empty_hint": "Type a question and press Enter to send. Use Shift + Enter for a new line.",
|
||||
"input_placeholder": "Type a message...",
|
||||
"send": "Send",
|
||||
"clear": "Clear",
|
||||
"thinking": "Thinking...",
|
||||
"streaming": "Generating response",
|
||||
"tokens": "Token usage",
|
||||
"profile": "AI profile",
|
||||
"default_profile": "Default profile",
|
||||
"tool_router": "Tool router",
|
||||
"enter_hint": "Enter to send, Shift + Enter for a new line",
|
||||
"error_prefix": "Request failed: "
|
||||
},
|
||||
"aiconfig": {
|
||||
"title": "AI Config",
|
||||
"subtitle": "Configure AI profiles, tool routing, and tool list stored in the database.",
|
||||
"reload": "Reload",
|
||||
"refresh_cache": "Refresh Cache",
|
||||
"save": "Save",
|
||||
"enabled": "Enabled",
|
||||
"profiles": "AI Profiles",
|
||||
"add_profile": "Add Profile",
|
||||
"remove": "Remove",
|
||||
"active": "Default Profile",
|
||||
"name": "Name",
|
||||
"api_key": "API Key",
|
||||
"api_key_keep": "Already configured; leave blank to keep it",
|
||||
"base_url": "Base URL",
|
||||
"model": "Model",
|
||||
"timeout": "Timeout (seconds)",
|
||||
"max_tokens": "Max Tokens",
|
||||
"system_prompt": "System Prompt",
|
||||
"tool_router": "Tool Router",
|
||||
"router_profile": "Router Profile",
|
||||
"none": "None",
|
||||
"tools": "Tools",
|
||||
"add_tool": "Add Tool",
|
||||
"description": "Description",
|
||||
"load_failed": "Failed to load AI config",
|
||||
"save_success": "AI config saved",
|
||||
"save_failed": "Failed to save AI config",
|
||||
"refresh_success": "AI config cache refreshed",
|
||||
"refresh_failed": "Failed to refresh AI config cache",
|
||||
"error_profile_required": "At least one AI profile is required",
|
||||
"error_profile_name_required": "Profile name is required",
|
||||
"error_profile_name_duplicate": "Profile names must be unique",
|
||||
"error_active_profile_required": "When AI is enabled, the default profile must have Base URL and model configured",
|
||||
"error_api_key_required": "When AI is enabled, the default profile must have an API key",
|
||||
"error_timeout": "Timeout must be a positive integer",
|
||||
"error_max_tokens": "Max tokens must be a positive integer",
|
||||
"error_router_profile": "Tool router profile must exist in profile list",
|
||||
"error_tool_name_required": "Tool name is required",
|
||||
"error_tool_name_duplicate": "Tool names must be unique"
|
||||
},
|
||||
"tagadder": {
|
||||
"not_fund_item": "No matching items found",
|
||||
|
||||
Reference in New Issue
Block a user