update hello view page
This commit is contained in:
@@ -361,5 +361,41 @@ export default {
|
||||
fewShotExamplesDescription: 'The model uses these examples to learn the expected answer format. Not all examples are sent at the same time. We only send the relevant examples, given the current cursor location. For example, the CodeBlock examples are only sent if the cursor is in a code block. If no special context is detected, we send the Text examples. Each context has a default of 2 examples, but you can add or remove examples if there is at least one per context. You can add more examples, but this will increase the inference costs.',
|
||||
},
|
||||
}
|
||||
},
|
||||
mcpHub: {
|
||||
title: "MCP Servers",
|
||||
enableMcp: "Enable MCP Servers",
|
||||
enableMcpDescription: "Enable to use tools from connected MCP servers for enhanced capabilities. It's recommended to disable when not using these tools to save API token costs.",
|
||||
learnMore: "Learn more about MCP",
|
||||
addNewServer: "+ Add New MCP Server",
|
||||
serverName: "Server Name",
|
||||
serverNamePlaceholder: "Enter server name",
|
||||
config: "Configuration (JSON format)",
|
||||
configPlaceholder: "example: {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \"/Users/username/Desktop\",\n \"/path/to/other/allowed/dir\"\n ]\n}",
|
||||
createServer: "Create Server",
|
||||
status: "Status",
|
||||
statusConnected: "Connected",
|
||||
statusConnecting: "Connecting",
|
||||
statusDisconnected: "Disconnected",
|
||||
enable: "Enable Server",
|
||||
disable: "Disable Server",
|
||||
restart: "Restart Server",
|
||||
delete: "Delete Server",
|
||||
deleteConfirm: "Are you sure you want to delete server \"{name}\"?",
|
||||
createSuccess: "Server \"{name}\" created successfully",
|
||||
createFailed: "Failed to create server: {error}",
|
||||
serverNameRequired: "Server name cannot be empty",
|
||||
configRequired: "Configuration cannot be empty",
|
||||
invalidConfig: "Invalid configuration format, please enter valid JSON",
|
||||
noServersFound: "No servers found",
|
||||
serverNotConnectedError: "Server is not connected",
|
||||
tools: "Tools",
|
||||
resources: "Resources",
|
||||
errors: "Errors",
|
||||
noTools: "No tools available",
|
||||
noResources: "No resources available",
|
||||
noErrors: "No error records",
|
||||
parameters: "Parameters",
|
||||
toolNoDescription: "No description"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -361,6 +361,42 @@ export default {
|
||||
fewShotExamples: 'Few shot 示例',
|
||||
fewShotExamplesDescription: '模型使用这些示例来学习预期的答案格式。并非所有示例都同时发送。我们仅根据当前光标位置发送相关示例。例如,仅当光标位于代码块中时才发送 CodeBlock 示例。如果未检测到特殊上下文,则发送 Text 示例。每个上下文默认有 2 个示例,但如果每个上下文至少有一个示例,则可以添加或删除示例。您可以添加更多示例,但这会增加推理成本。',
|
||||
},
|
||||
},
|
||||
mcpHub: {
|
||||
title: "MCP 服务器",
|
||||
enableMcp: "启用 MCP 服务器",
|
||||
enableMcpDescription: "开启后可用已连接 MCP 服务器的工具,能力更强。不用这些工具时建议关闭,节省 API Token 费用。",
|
||||
learnMore: "了解更多关于 MCP",
|
||||
addNewServer: "+ 添加新的 MCP 服务器",
|
||||
serverName: "服务器名称",
|
||||
serverNamePlaceholder: "输入服务器名称",
|
||||
config: "配置 (JSON 格式)",
|
||||
configPlaceholder: "example: {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \"/Users/username/Desktop\",\n \"/path/to/other/allowed/dir\"\n ]\n}",
|
||||
createServer: "创建服务器",
|
||||
status: "状态",
|
||||
statusConnected: "已连接",
|
||||
statusConnecting: "连接中",
|
||||
statusDisconnected: "未连接",
|
||||
enable: "启用服务器",
|
||||
disable: "禁用服务器",
|
||||
restart: "重启服务器",
|
||||
delete: "删除服务器",
|
||||
deleteConfirm: "确定要删除服务器 \"{name}\" 吗?",
|
||||
createSuccess: "服务器 \"{name}\" 创建成功",
|
||||
createFailed: "创建服务器失败: {error}",
|
||||
serverNameRequired: "服务器名称不能为空",
|
||||
configRequired: "配置不能为空",
|
||||
invalidConfig: "配置格式无效,请输入有效的 JSON 格式",
|
||||
noServersFound: "未找到服务器",
|
||||
serverNotConnectedError: "服务器未连接",
|
||||
tools: "工具",
|
||||
resources: "资源",
|
||||
errors: "错误",
|
||||
noTools: "没有可用工具",
|
||||
noResources: "没有可用资源",
|
||||
noErrors: "没有错误记录",
|
||||
parameters: "参数",
|
||||
toolNoDescription: "无描述"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user