|
1 | 1 | { |
2 | 2 | "unknownError": "Unknown error", |
3 | | - "authenticationFailed": "Failed to create embeddings: Authentication failed. Please check your API key.", |
4 | | - "failedWithStatus": "Failed to create embeddings after {{attempts}} attempts: HTTP {{statusCode}} - {{errorMessage}}", |
| 3 | + "authenticationFailed": "Failed to create embeddings: Authentication failed for {{provider}}. Please check your API key.", |
| 4 | + "failedWithStatus": "Failed to create embeddings after {{attempts}} attempts with {{provider}}: HTTP {{statusCode}} - {{errorMessage}}", |
5 | 5 | "failedWithError": "Failed to create embeddings after {{attempts}} attempts: {{errorMessage}}", |
6 | 6 | "failedMaxAttempts": "Failed to create embeddings after {{attempts}} attempts", |
7 | 7 | "textExceedsTokenLimit": "Text at index {{index}} exceeds maximum token limit ({{itemTokens}} > {{maxTokens}}). Skipping.", |
8 | 8 | "rateLimitRetry": "Rate limit hit, retrying in {{delayMs}}ms (attempt {{attempt}}/{{maxRetries}})", |
| 9 | + "rateLimitExhausted": "Rate limit exceeded for {{provider}} after {{attempts}} attempts. Please wait before retrying or check your API plan limits.", |
| 10 | + "textWithPrefixExceedsTokenLimit": "Text at index {{index}} with query prefix exceeds maximum token limit ({{estimatedTokens}} > {{maxTokens}}). Using original text without prefix.", |
9 | 11 | "ollama": { |
10 | 12 | "couldNotReadErrorBody": "Could not read error body", |
11 | 13 | "requestFailed": "Ollama API request failed with status {{status}} {{statusText}}: {{errorBody}}", |
|
27 | 29 | "vectorDimensionMismatch": "Failed to update vector index for new model. Please try clearing the index and starting again. Details: {{errorMessage}}" |
28 | 30 | }, |
29 | 31 | "validation": { |
30 | | - "authenticationFailed": "Authentication failed. Please check your API key in the settings.", |
| 32 | + "authenticationFailed": "Authentication failed for {{provider}}. Please check your API key in the settings.", |
31 | 33 | "connectionFailed": "Failed to connect to the embedder service. Please check your connection settings and ensure the service is running.", |
32 | | - "modelNotAvailable": "The specified model is not available. Please check your model configuration.", |
33 | | - "configurationError": "Invalid embedder configuration. Please review your settings.", |
| 34 | + "modelNotAvailable": "Model '{{modelId}}' is not available. Please verify the model exists and you have access to it.", |
| 35 | + "configurationError": "Invalid configuration for {{provider}}. Please review your settings.", |
34 | 36 | "serviceUnavailable": "The embedder service is not available. Please ensure it is running and accessible.", |
35 | | - "invalidEndpoint": "Invalid API endpoint. Please check your URL configuration.", |
| 37 | + "invalidEndpoint": "Invalid API endpoint{{#if endpoint}}: {{endpoint}}{{/if}}. Please check your URL configuration.", |
36 | 38 | "invalidEmbedderConfig": "Invalid embedder configuration. Please check your settings.", |
37 | 39 | "invalidApiKey": "Invalid API key. Please check your API key configuration.", |
38 | 40 | "invalidBaseUrl": "Invalid base URL. Please check your URL configuration.", |
39 | 41 | "invalidModel": "Invalid model. Please check your model configuration.", |
40 | 42 | "invalidResponse": "Invalid response from embedder service. Please check your configuration.", |
41 | 43 | "apiKeyRequired": "API key is required for this embedder", |
42 | | - "baseUrlRequired": "Base URL is required for this embedder" |
| 44 | + "baseUrlRequired": "Base URL is required for this embedder", |
| 45 | + "badRequest": "Bad request to {{provider}}{{#if endpoint}} at {{endpoint}}{{/if}}. Please check your configuration and request parameters.", |
| 46 | + "forbidden": "Access forbidden for {{provider}}. Please check your API key permissions and account status.", |
| 47 | + "rateLimitExceeded": "Rate limit exceeded for {{provider}}. Please wait before retrying or upgrade your API plan.", |
| 48 | + "serverError": "Server error from {{provider}} (HTTP {{status}}). The service may be experiencing issues. Please try again later.", |
| 49 | + "notImplemented": "The endpoint{{#if endpoint}} {{endpoint}}{{/if}} does not support embeddings. Please check if you're using the correct endpoint URL.", |
| 50 | + "clientError": "Client error with {{provider}} (HTTP {{status}}). Please check your configuration.", |
| 51 | + "hostNotFound": "Cannot resolve host{{#if endpoint}} for {{endpoint}}{{/if}}. Please check the URL and your network connection.", |
| 52 | + "connectionRefused": "Connection refused{{#if endpoint}} to {{endpoint}}{{/if}}. Please ensure the service is running and accessible.", |
| 53 | + "connectionTimeout": "Connection timeout{{#if endpoint}} to {{endpoint}}{{/if}}. The service may be slow or unreachable.", |
| 54 | + "noResponse": "No response received from {{provider}}. Please check your network connection.", |
| 55 | + "invalidResponseFormat": "Invalid response format from {{provider}}. The endpoint may not be compatible with the expected API format.", |
| 56 | + "apiKeyIssue": "API key issue with {{provider}}{{#if source}} (configured in {{source}}){{/if}}. Please verify your API key is correct and has the necessary permissions.", |
| 57 | + "modelIssue": "Model issue with {{provider}}{{#if modelId}} for model '{{modelId}}'{{/if}}. Please verify the model is available and supports embeddings.", |
| 58 | + "dimensionMismatch": "Vector dimension mismatch{{#if modelId}} for model '{{modelId}}'{{/if}}. The model's embedding dimensions don't match the existing index.", |
| 59 | + "unexpectedError": "Unexpected error with {{provider}}. Please check the logs for more details.", |
| 60 | + "checkNetworkAndVPN": "Check your network connection and VPN settings if applicable.", |
| 61 | + "checkServiceRunning": "Ensure the service is running and the port is not blocked by a firewall.", |
| 62 | + "checkFirewallProxy": "Check firewall settings and proxy configuration if behind a corporate network.", |
| 63 | + "checkNetworkStability": "Check your network stability and try again.", |
| 64 | + "checkEndpointCompatibility": "Verify the endpoint is compatible with OpenAI's embedding API format.", |
| 65 | + "clearIndexAndRestart": "Try clearing the index and restarting with the new model configuration.", |
| 66 | + "checkApiKeyInSettings": "Please verify your API key in Settings > Code Index.", |
| 67 | + "checkEndpointAndModel": "Please verify the endpoint URL and model '{{modelId}}' are correct.", |
| 68 | + "checkServiceAndNetwork": "Please ensure the service is running and check your network connection." |
43 | 69 | }, |
44 | 70 | "serviceFactory": { |
45 | | - "openAiConfigMissing": "OpenAI configuration missing for embedder creation", |
46 | | - "ollamaConfigMissing": "Ollama configuration missing for embedder creation", |
47 | | - "openAiCompatibleConfigMissing": "OpenAI Compatible configuration missing for embedder creation", |
48 | | - "geminiConfigMissing": "Gemini configuration missing for embedder creation", |
49 | | - "mistralConfigMissing": "Mistral configuration missing for embedder creation", |
50 | | - "vercelAiGatewayConfigMissing": "Vercel AI Gateway configuration missing for embedder creation", |
51 | | - "invalidEmbedderType": "Invalid embedder type configured: {{embedderProvider}}", |
| 71 | + "openAiConfigMissing": "OpenAI configuration missing. Please provide an API key in the Code Index settings.", |
| 72 | + "ollamaConfigMissing": "Ollama configuration missing. Please provide the Ollama base URL in the Code Index settings.", |
| 73 | + "openAiCompatibleConfigMissing": "OpenAI Compatible configuration missing. Please provide both base URL and API key in the Code Index settings.", |
| 74 | + "geminiConfigMissing": "Gemini configuration missing. Please provide an API key in the Code Index settings.", |
| 75 | + "mistralConfigMissing": "Mistral configuration missing. Please provide an API key in the Code Index settings.", |
| 76 | + "vercelAiGatewayConfigMissing": "Vercel AI Gateway configuration missing. Please provide an API key in the Code Index settings.", |
| 77 | + "invalidEmbedderType": "Invalid embedder type configured: '{{embedderProvider}}'. Please select a valid provider in the Code Index settings.", |
52 | 78 | "vectorDimensionNotDeterminedOpenAiCompatible": "Could not determine vector dimension for model '{{modelId}}' with provider '{{provider}}'. Please ensure the 'Embedding Dimension' is correctly set in the OpenAI-Compatible provider settings.", |
53 | 79 | "vectorDimensionNotDetermined": "Could not determine vector dimension for model '{{modelId}}' with provider '{{provider}}'. Check model profiles or configuration.", |
54 | | - "qdrantUrlMissing": "Qdrant URL missing for vector store creation", |
55 | | - "codeIndexingNotConfigured": "Cannot create services: Code indexing is not properly configured" |
| 80 | + "qdrantUrlMissing": "Qdrant URL missing. Please configure the Qdrant vector database URL in the Code Index settings.", |
| 81 | + "codeIndexingNotConfigured": "Code indexing is not properly configured. Please complete the setup in Settings > Code Index.", |
| 82 | + "embeddingValidationFailed": "Failed to validate {{provider}} embedder: {{error}}. Please check your configuration and try again." |
56 | 83 | }, |
57 | 84 | "orchestrator": { |
58 | | - "indexingFailedNoBlocks": "Indexing failed: No code blocks were successfully indexed. This usually indicates an embedder configuration issue.", |
59 | | - "indexingFailedCritical": "Indexing failed: No code blocks were successfully indexed despite finding files to process. This indicates a critical embedder failure.", |
| 85 | + "indexingFailedNoBlocks": "Indexing failed: No code blocks were successfully indexed. This usually indicates an embedder configuration issue. Please check your API key, endpoint URL, and model settings.", |
| 86 | + "indexingFailedCritical": "Indexing failed: No code blocks were successfully indexed despite finding files to process. This indicates a critical embedder failure. Please verify your embedder configuration and API connectivity.", |
60 | 87 | "fileWatcherStarted": "File watcher started.", |
61 | 88 | "fileWatcherStopped": "File watcher stopped.", |
62 | | - "failedDuringInitialScan": "Failed during initial scan: {{errorMessage}}", |
| 89 | + "failedDuringInitialScan": "Failed during initial scan: {{errorMessage}}. Please check your configuration and try again.", |
63 | 90 | "unknownError": "Unknown error", |
64 | | - "indexingRequiresWorkspace": "Indexing requires an open workspace folder" |
| 91 | + "indexingRequiresWorkspace": "Indexing requires an open workspace folder. Please open a folder or workspace to enable code indexing." |
| 92 | + }, |
| 93 | + "openai": { |
| 94 | + "invalidResponseFormat": "Invalid response format from OpenAI API. Please check your API key and model configuration." |
65 | 95 | } |
66 | 96 | } |
0 commit comments