update hello view page

This commit is contained in:
duanfuxiang
2025-06-03 00:17:03 +08:00
parent d83ea57fca
commit ec6c4cde83
4 changed files with 100 additions and 33 deletions

View File

@@ -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"
}
}