diff --git a/.changeset/shaggy-turtles-report.md b/.changeset/shaggy-turtles-report.md new file mode 100644 index 00000000000..945b5e76400 --- /dev/null +++ b/.changeset/shaggy-turtles-report.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Disable Gemini prompt caching diff --git a/CHANGELOG.md b/CHANGELOG.md index 0858e883f31..d056964135d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Roo Code Changelog +## [3.14.1] - 2025-04-24 + +- Disable Gemini caching while we investigate issues reported by the community. + ## [3.14.0] - 2025-04-23 - Add prompt caching for `gemini-2.5-pro-preview-03-25` in the Gemini provider (Vertex and OpenRouter coming soon!) diff --git a/src/api/providers/gemini.ts b/src/api/providers/gemini.ts index de77379abb4..43fae541379 100644 --- a/src/api/providers/gemini.ts +++ b/src/api/providers/gemini.ts @@ -40,24 +40,24 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl let cacheWriteTokens: number | undefined = undefined // https://ai.google.dev/gemini-api/docs/caching?lang=node - if (info.supportsPromptCache && cacheKey) { - const cacheEntry = this.contentCaches.get(cacheKey) + // if (info.supportsPromptCache && cacheKey) { + // const cacheEntry = this.contentCaches.get(cacheKey) - if (cacheEntry) { - uncachedContent = contents.slice(cacheEntry.count, contents.length) - cachedContent = cacheEntry.key - } + // if (cacheEntry) { + // uncachedContent = contents.slice(cacheEntry.count, contents.length) + // cachedContent = cacheEntry.key + // } - const newCacheEntry = await this.client.caches.create({ - model, - config: { contents, systemInstruction, ttl: `${CACHE_TTL * 60}s` }, - }) + // const newCacheEntry = await this.client.caches.create({ + // model, + // config: { contents, systemInstruction, ttl: `${CACHE_TTL * 60}s` }, + // }) - if (newCacheEntry.name) { - this.contentCaches.set(cacheKey, { key: newCacheEntry.name, count: contents.length }) - cacheWriteTokens = newCacheEntry.usageMetadata?.totalTokenCount ?? 0 - } - } + // if (newCacheEntry.name) { + // this.contentCaches.set(cacheKey, { key: newCacheEntry.name, count: contents.length }) + // cacheWriteTokens = newCacheEntry.usageMetadata?.totalTokenCount ?? 0 + // } + // } const params: GenerateContentParameters = { model, @@ -94,13 +94,13 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl const cacheReadTokens = lastUsageMetadata.cachedContentTokenCount const reasoningTokens = lastUsageMetadata.thoughtsTokenCount - const totalCost = this.calculateCost({ - info, - inputTokens, - outputTokens, - cacheWriteTokens, - cacheReadTokens, - }) + // const totalCost = this.calculateCost({ + // info, + // inputTokens, + // outputTokens, + // cacheWriteTokens, + // cacheReadTokens, + // }) yield { type: "usage", @@ -109,7 +109,7 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl cacheWriteTokens, cacheReadTokens, reasoningTokens, - totalCost, + // totalCost, } } } diff --git a/src/api/providers/openrouter.ts b/src/api/providers/openrouter.ts index 9320cefeab9..c44b2ed74e4 100644 --- a/src/api/providers/openrouter.ts +++ b/src/api/providers/openrouter.ts @@ -85,17 +85,13 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH // Prompt caching: https://openrouter.ai/docs/prompt-caching // Now with Gemini support: https://openrouter.ai/docs/features/prompt-caching - if (supportsPromptCache) { + // Note that we don't check the `ModelInfo` object because it is cached + // in the settings for OpenRouter. + if (this.isPromptCacheSupported(modelId)) { openAiMessages[0] = { role: "system", - content: [ - { - type: "text", - text: systemPrompt, - // @ts-ignore-next-line - cache_control: { type: "ephemeral" }, - }, - ], + // @ts-ignore-next-line + content: [{ type: "text", text: systemPrompt, cache_control: { type: "ephemeral" } }], } // Add cache_control to the last two user messages @@ -108,13 +104,17 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH } if (Array.isArray(msg.content)) { - // NOTE: this is fine since env details will always be added at the end. but if it weren't there, and the user added a image_url type message, it would pop a text part before it and then move it after to the end. + // NOTE: This is fine since env details will always be added + // at the end. But if it wasn't there, and the user added a + // image_url type message, it would pop a text part before + // it and then move it after to the end. let lastTextPart = msg.content.filter((part) => part.type === "text").pop() if (!lastTextPart) { lastTextPart = { type: "text", text: "..." } msg.content.push(lastTextPart) } + // @ts-ignore-next-line lastTextPart["cache_control"] = { type: "ephemeral" } } @@ -227,6 +227,15 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH const completion = response as OpenAI.Chat.ChatCompletion return completion.choices[0]?.message?.content || "" } + + private isPromptCacheSupported(modelId: string) { + return ( + modelId.startsWith("anthropic/claude-3.7-sonnet") || + modelId.startsWith("anthropic/claude-3.5-sonnet") || + modelId.startsWith("anthropic/claude-3-opus") || + modelId.startsWith("anthropic/claude-3-haiku") + ) + } } export async function getOpenRouterModels(options?: ApiHandlerOptions) { @@ -250,7 +259,7 @@ export async function getOpenRouterModels(options?: ApiHandlerOptions) { thinking: rawModel.id === "anthropic/claude-3.7-sonnet:thinking", } - // NOTE: this needs to be synced with api.ts/openrouter default model info. + // NOTE: This needs to be synced with api.ts/openrouter default model info. switch (true) { case rawModel.id.startsWith("anthropic/claude-3.7-sonnet"): modelInfo.supportsComputerUse = true diff --git a/src/shared/api.ts b/src/shared/api.ts index ebe088599c9..4908b26c3a5 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -682,7 +682,7 @@ export const geminiModels = { maxTokens: 65_535, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: true, + supportsPromptCache: false, inputPrice: 2.5, // This is the pricing for prompts above 200k tokens. outputPrice: 15, cacheReadsPrice: 0.625, @@ -706,7 +706,7 @@ export const geminiModels = { maxTokens: 8192, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: true, + supportsPromptCache: false, inputPrice: 0.1, outputPrice: 0.4, cacheReadsPrice: 0.025, @@ -756,7 +756,7 @@ export const geminiModels = { maxTokens: 8192, contextWindow: 1_048_576, supportsImages: true, - supportsPromptCache: true, + supportsPromptCache: false, inputPrice: 0.15, // This is the pricing for prompts above 128k tokens. outputPrice: 0.6, cacheReadsPrice: 0.0375, diff --git a/webview-ui/src/i18n/locales/ca/chat.json b/webview-ui/src/i18n/locales/ca/chat.json index a7344ffe94b..40c4d4ca418 100644 --- a/webview-ui/src/i18n/locales/ca/chat.json +++ b/webview-ui/src/i18n/locales/ca/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 publicat", "description": "Roo Code 3.14 porta noves funcionalitats i millores basades en els teus comentaris.", "whatsNew": "Novetats", - "feature1": "Memòria cau per a Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 ara suporta memòria cau de prompts al proveïdor Gemini (Vertex i OpenRouter disponibles aviat)", - "feature2": "Eines d'edició millorades: Les eines search_and_replace i insert_content han estat millorades i ja no són experimentals", + "feature1": "Eines d'edició millorades: Les eines search_and_replace i insert_content han estat millorades i ja no són experimentals", + "feature2": "Millores a apply_diff: Continuem treballant per millorar l'eina apply_diff", "feature3": "Moltes altres millores: Nombroses correccions i optimitzacions a tota l'extensió", "hideButton": "Amagar anunci", "detailsDiscussLinks": "Obtingues més detalls i participa a Discord i Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/de/chat.json b/webview-ui/src/i18n/locales/de/chat.json index 0eacf35c7b5..dccc2bab1ed 100644 --- a/webview-ui/src/i18n/locales/de/chat.json +++ b/webview-ui/src/i18n/locales/de/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 veröffentlicht", "description": "Roo Code 3.14 bringt neue Funktionen und Verbesserungen basierend auf deinem Feedback.", "whatsNew": "Was ist neu", - "feature1": "Gemini 2.5 Pro Caching: gemini-2.5-pro-preview-03-25 unterstützt jetzt Prompt-Caching im Gemini-Provider (Vertex und OpenRouter folgen bald)", - "feature2": "Verbesserte Bearbeitungswerkzeuge: Die search_and_replace und insert_content Tools wurden verbessert und sind nicht mehr experimentell", + "feature1": "Verbesserte Bearbeitungswerkzeuge: Die search_and_replace und insert_content Tools wurden verbessert und sind nicht mehr experimentell", + "feature2": "Diff Apply Fixes: Wir arbeiten weiterhin an der Verbesserung des apply_diff Tools", "feature3": "Zahlreiche andere Verbesserungen: Viele Fehlerbehebungen und Optimierungen in der gesamten Erweiterung", "hideButton": "Ankündigung ausblenden", "detailsDiscussLinks": "Erhalte mehr Details und diskutiere auf Discord und Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json index 0f98b758b0d..c40a5507583 100644 --- a/webview-ui/src/i18n/locales/en/chat.json +++ b/webview-ui/src/i18n/locales/en/chat.json @@ -182,8 +182,8 @@ "title": "🎉 Roo Code 3.14 Released", "description": "Roo Code 3.14 brings new features and improvements based on your feedback.", "whatsNew": "What's New", - "feature1": "Gemini 2.5 Pro Caching: gemini-2.5-pro-preview-03-25 now supports prompt caching in the Gemini provider (Vertex and OpenRouter coming soon)", - "feature2": "Improved Editing Tools: The search_and_replace and insert_content tools have been improved and graduated from experimental status", + "feature1": "Improved Editing Tools: The search_and_replace and insert_content tools have been improved and graduated from experimental status", + "feature2": "Diff Apply Fixes: We continue to work on improving the apply_diff tool", "feature3": "Tons of Other Improvements: Numerous fixes and enhancements throughout the extension", "hideButton": "Hide announcement", "detailsDiscussLinks": "Get more details and discuss in Discord and Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/es/chat.json b/webview-ui/src/i18n/locales/es/chat.json index ce8ce81a147..e89587493e6 100644 --- a/webview-ui/src/i18n/locales/es/chat.json +++ b/webview-ui/src/i18n/locales/es/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 publicado", "description": "Roo Code 3.14 trae nuevas funcionalidades y mejoras basadas en tus comentarios.", "whatsNew": "Novedades", - "feature1": "Caché para Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 ahora admite caché de prompts en el proveedor Gemini (Vertex y OpenRouter próximamente)", - "feature2": "Herramientas de edición mejoradas: Las herramientas search_and_replace y insert_content han sido mejoradas y ya no son experimentales", + "feature1": "Herramientas de edición mejoradas: Las herramientas search_and_replace y insert_content han sido mejoradas y ya no son experimentales", + "feature2": "Mejoras en apply_diff: Continuamos trabajando en mejorar la herramienta apply_diff", "feature3": "Montones de otras mejoras: Numerosas correcciones y mejoras en toda la extensión", "hideButton": "Ocultar anuncio", "detailsDiscussLinks": "Obtén más detalles y participa en Discord y Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/fr/chat.json b/webview-ui/src/i18n/locales/fr/chat.json index bda177d93ac..51375d11504 100644 --- a/webview-ui/src/i18n/locales/fr/chat.json +++ b/webview-ui/src/i18n/locales/fr/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 est sortie", "description": "Roo Code 3.14 apporte de nouvelles fonctionnalités et améliorations basées sur vos retours.", "whatsNew": "Quoi de neuf", - "feature1": "Cache pour Gemini 2.5 Pro : gemini-2.5-pro-preview-03-25 prend maintenant en charge le cache des prompts dans le fournisseur Gemini (Vertex et OpenRouter bientôt disponibles)", - "feature2": "Outils d'édition améliorés : Les outils search_and_replace et insert_content ont été améliorés et ne sont plus expérimentaux", + "feature1": "Outils d'édition améliorés : Les outils search_and_replace et insert_content ont été améliorés et ne sont plus expérimentaux", + "feature2": "Corrections pour apply_diff : Nous continuons à travailler sur l'amélioration de l'outil apply_diff", "feature3": "Quantité d'autres améliorations : Nombreuses corrections et optimisations dans toute l'extension", "hideButton": "Masquer l'annonce", "detailsDiscussLinks": "Obtenez plus de détails et participez aux discussions sur Discord et Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/hi/chat.json b/webview-ui/src/i18n/locales/hi/chat.json index b60de041581..e92eba0162b 100644 --- a/webview-ui/src/i18n/locales/hi/chat.json +++ b/webview-ui/src/i18n/locales/hi/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 रिलीज़ हुआ", "description": "Roo Code 3.14 आपके फीडबैक के आधार पर नई सुविधाएँ और सुधार लाता है।", "whatsNew": "नई सुविधाएँ", - "feature1": "Gemini 2.5 Pro कैशिंग: gemini-2.5-pro-preview-03-25 अब Gemini प्रोवाइडर में प्रॉम्प्ट कैशिंग का समर्थन करता है (Vertex और OpenRouter जल्द ही आ रहे हैं)", - "feature2": "सुधारित संपादन टूल्स: search_and_replace और insert_content टूल्स को सुधारा गया है और अब ये प्रयोगात्मक स्थिति से निकल गए हैं", + "feature1": "सुधारित संपादन टूल्स: search_and_replace और insert_content टूल्स को सुधारा गया है और अब ये प्रयोगात्मक स्थिति से निकल गए हैं", + "feature2": "apply_diff सुधार: हम apply_diff टूल को सुधारने पर निरंतर काम कर रहे हैं", "feature3": "ढेरों अन्य सुधार: एक्सटेंशन में अनगिनत बग फिक्स और विकास", "hideButton": "घोषणा छिपाएँ", "detailsDiscussLinks": "Discord और Reddit पर अधिक जानकारी प्राप्त करें और चर्चा में भाग लें 🚀" diff --git a/webview-ui/src/i18n/locales/it/chat.json b/webview-ui/src/i18n/locales/it/chat.json index 2bb6ab89ba0..d613d0e01b8 100644 --- a/webview-ui/src/i18n/locales/it/chat.json +++ b/webview-ui/src/i18n/locales/it/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Rilasciato Roo Code 3.14", "description": "Roo Code 3.14 porta nuove funzionalità e miglioramenti basati sui tuoi feedback.", "whatsNew": "Novità", - "feature1": "Cache per Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 ora supporta la cache dei prompt nel provider Gemini (Vertex e OpenRouter presto disponibili)", - "feature2": "Strumenti di modifica migliorati: Gli strumenti search_and_replace e insert_content sono stati migliorati e non sono più sperimentali", + "feature1": "Strumenti di modifica migliorati: Gli strumenti search_and_replace e insert_content sono stati migliorati e non sono più sperimentali", + "feature2": "Correzioni per apply_diff: Continuiamo a lavorare per migliorare lo strumento apply_diff", "feature3": "Tantissimi altri miglioramenti: Numerose correzioni e ottimizzazioni in tutta l'estensione", "hideButton": "Nascondi annuncio", "detailsDiscussLinks": "Ottieni maggiori dettagli e partecipa alle discussioni su Discord e Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/ja/chat.json b/webview-ui/src/i18n/locales/ja/chat.json index a071bf61e04..a3fefb79b69 100644 --- a/webview-ui/src/i18n/locales/ja/chat.json +++ b/webview-ui/src/i18n/locales/ja/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 リリース", "description": "Roo Code 3.14は新機能とあなたのフィードバックに基づく改善をもたらします。", "whatsNew": "新機能", - "feature1": "Gemini 2.5 Proのプロンプトキャッシング: gemini-2.5-pro-preview-03-25がGeminiプロバイダーでプロンプトキャッシングをサポートするようになりました(VertexとOpenRouterも近日対応予定)", - "feature2": "編集ツールの改善: search_and_replaceinsert_contentツールが改善され、実験的ステータスから正式機能になりました", + "feature1": "編集ツールの改善: search_and_replaceinsert_contentツールが改善され、実験的ステータスから正式機能になりました", + "feature2": "apply_diffの修正: apply_diffツールの改善に継続的に取り組んでいます", "feature3": "その他多数の改善点: 拡張機能全体にわたる多くの修正と機能強化", "hideButton": "通知を非表示", "detailsDiscussLinks": "詳細はDiscordRedditでご確認・ディスカッションください 🚀" diff --git a/webview-ui/src/i18n/locales/ko/chat.json b/webview-ui/src/i18n/locales/ko/chat.json index 8160b76f977..c2a3db6f666 100644 --- a/webview-ui/src/i18n/locales/ko/chat.json +++ b/webview-ui/src/i18n/locales/ko/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 출시", "description": "Roo Code 3.14는 사용자 피드백을 기반으로 새로운 기능과 개선사항을 제공합니다.", "whatsNew": "새로운 기능", - "feature1": "Gemini 2.5 Pro 캐싱: gemini-2.5-pro-preview-03-25에서 이제 Gemini 제공자에서 프롬프트 캐싱을 지원합니다 (Vertex 및 OpenRouter 지원 예정)", - "feature2": "개선된 편집 도구: search_and_replaceinsert_content 도구가 개선되어 실험 상태에서 정식 기능으로 전환되었습니다", + "feature1": "개선된 편집 도구: search_and_replaceinsert_content 도구가 개선되어 실험 상태에서 정식 기능으로 전환되었습니다", + "feature2": "apply_diff 수정: apply_diff 도구를 지속적으로 개선하고 있습니다", "feature3": "수많은 기타 개선사항: 확장 프로그램 전체에 걸친 다양한 수정 및 향상된 기능", "hideButton": "공지 숨기기", "detailsDiscussLinks": "DiscordReddit에서 더 자세한 정보를 확인하고 논의하세요 🚀" diff --git a/webview-ui/src/i18n/locales/pl/chat.json b/webview-ui/src/i18n/locales/pl/chat.json index 4f6129d2aba..4008195a4f1 100644 --- a/webview-ui/src/i18n/locales/pl/chat.json +++ b/webview-ui/src/i18n/locales/pl/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 wydany", "description": "Roo Code 3.14 przynosi nowe funkcje i ulepszenia na podstawie Twoich opinii.", "whatsNew": "Co nowego", - "feature1": "Pamięć podręczna dla Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 teraz obsługuje pamięć podręczną promptów w dostawcy Gemini (Vertex i OpenRouter wkrótce)", - "feature2": "Ulepszone narzędzia edycji: Narzędzia search_and_replace i insert_content zostały ulepszone i nie są już eksperymentalne", + "feature1": "Ulepszone narzędzia edycji: Narzędzia search_and_replace i insert_content zostały ulepszone i nie są już eksperymentalne", + "feature2": "Poprawki apply_diff: Kontynuujemy pracę nad ulepszaniem narzędzia apply_diff", "feature3": "Mnóstwo innych ulepszeń: Liczne poprawki i usprawnienia w całym rozszerzeniu", "hideButton": "Ukryj ogłoszenie", "detailsDiscussLinks": "Uzyskaj więcej szczegółów i dołącz do dyskusji na Discord i Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/pt-BR/chat.json b/webview-ui/src/i18n/locales/pt-BR/chat.json index 1915d4ce305..fbfa3852983 100644 --- a/webview-ui/src/i18n/locales/pt-BR/chat.json +++ b/webview-ui/src/i18n/locales/pt-BR/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 Lançado", "description": "Roo Code 3.14 traz novos recursos e melhorias baseados no seu feedback.", "whatsNew": "O que há de novo", - "feature1": "Cache para Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 agora suporta cache de prompts no provedor Gemini (Vertex e OpenRouter em breve)", - "feature2": "Ferramentas de edição aprimoradas: As ferramentas search_and_replace e insert_content foram aprimoradas e não são mais experimentais", + "feature1": "Ferramentas de edição aprimoradas: As ferramentas search_and_replace e insert_content foram aprimoradas e não são mais experimentais", + "feature2": "Correções no apply_diff: Continuamos trabalhando para melhorar a ferramenta apply_diff", "feature3": "Toneladas de outras melhorias: Inúmeras correções e aprimoramentos em toda a extensão", "hideButton": "Ocultar anúncio", "detailsDiscussLinks": "Obtenha mais detalhes e participe da discussão no Discord e Reddit 🚀" diff --git a/webview-ui/src/i18n/locales/tr/chat.json b/webview-ui/src/i18n/locales/tr/chat.json index a6921b49e94..7fa48ccb736 100644 --- a/webview-ui/src/i18n/locales/tr/chat.json +++ b/webview-ui/src/i18n/locales/tr/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 Yayınlandı", "description": "Roo Code 3.14 geri bildirimlerinize dayalı yeni özellikler ve iyileştirmeler getiriyor.", "whatsNew": "Yenilikler", - "feature1": "Gemini 2.5 Pro Önbelleği: gemini-2.5-pro-preview-03-25 artık Gemini sağlayıcısında prompt önbelleklemeyi destekliyor (Vertex ve OpenRouter yakında geliyor)", - "feature2": "Geliştirilmiş Düzenleme Araçları: search_and_replace ve insert_content araçları iyileştirildi ve deneysel statüsünden çıkarıldı", + "feature1": "Geliştirilmiş Düzenleme Araçları: search_and_replace ve insert_content araçları iyileştirildi ve deneysel statüsünden çıkarıldı", + "feature2": "Apply_diff İyileştirmeleri: apply_diff aracını geliştirmeye devam ediyoruz", "feature3": "Çok Sayıda Diğer İyileştirme: Eklenti genelinde sayısız düzeltme ve geliştirme", "hideButton": "Duyuruyu gizle", "detailsDiscussLinks": "Discord ve Reddit üzerinde daha fazla ayrıntı edinin ve tartışmalara katılın 🚀" diff --git a/webview-ui/src/i18n/locales/vi/chat.json b/webview-ui/src/i18n/locales/vi/chat.json index 6ed9b436693..f2cd321820c 100644 --- a/webview-ui/src/i18n/locales/vi/chat.json +++ b/webview-ui/src/i18n/locales/vi/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 Đã phát hành", "description": "Roo Code 3.14 mang đến các tính năng và cải tiến mới dựa trên phản hồi của bạn.", "whatsNew": "Có gì mới", - "feature1": "Bộ nhớ đệm cho Gemini 2.5 Pro: gemini-2.5-pro-preview-03-25 giờ đây hỗ trợ bộ nhớ đệm prompt trong nhà cung cấp Gemini (Vertex và OpenRouter sắp ra mắt)", - "feature2": "Công cụ chỉnh sửa được cải thiện: Các công cụ search_and_replaceinsert_content đã được cải thiện và chuyển từ trạng thái thử nghiệm thành chính thức", + "feature1": "Công cụ chỉnh sửa được cải thiện: Các công cụ search_and_replaceinsert_content đã được cải thiện và chuyển từ trạng thái thử nghiệm thành chính thức", + "feature2": "Sửa lỗi apply_diff: Chúng tôi tiếp tục cải thiện công cụ apply_diff", "feature3": "Rất nhiều cải tiến khác: Vô số sửa lỗi và cải tiến trong toàn bộ tiện ích mở rộng", "hideButton": "Ẩn thông báo", "detailsDiscussLinks": "Nhận thêm chi tiết và thảo luận tại DiscordReddit 🚀" diff --git a/webview-ui/src/i18n/locales/zh-CN/chat.json b/webview-ui/src/i18n/locales/zh-CN/chat.json index 98948bc020d..4fa48d6999d 100644 --- a/webview-ui/src/i18n/locales/zh-CN/chat.json +++ b/webview-ui/src/i18n/locales/zh-CN/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 已发布", "description": "Roo Code 3.14 带来基于您反馈的新功能和改进。", "whatsNew": "新特性", - "feature1": "Gemini 2.5 Pro 提示词缓存: gemini-2.5-pro-preview-03-25 现已在 Gemini 服务中支持提示词缓存(Vertex 和 OpenRouter 即将推出)", - "feature2": "编辑工具增强: search_and_replaceinsert_content 工具已得到改进,并从实验性状态毕业", + "feature1": "编辑工具增强: search_and_replaceinsert_content 工具已得到改进,并从实验性状态毕业", + "feature2": "差异更新修复: 我们持续改进 apply_diff 工具", "feature3": "海量其他改进: 扩展中众多的修复和增强功能", "hideButton": "隐藏公告", "detailsDiscussLinks": "在 DiscordReddit 获取更多详情并参与讨论 🚀" diff --git a/webview-ui/src/i18n/locales/zh-TW/chat.json b/webview-ui/src/i18n/locales/zh-TW/chat.json index 8a2b2bea4bb..177fa893d70 100644 --- a/webview-ui/src/i18n/locales/zh-TW/chat.json +++ b/webview-ui/src/i18n/locales/zh-TW/chat.json @@ -189,8 +189,8 @@ "title": "🎉 Roo Code 3.14 已發布", "description": "Roo Code 3.14 帶來基於您意見回饋的新功能與改進。", "whatsNew": "新功能", - "feature1": "Gemini 2.5 Pro 提示詞快取: gemini-2.5-pro-preview-03-25 現已在 Gemini 提供者中支援提示詞快取(Vertex 和 OpenRouter 即將推出)", - "feature2": "編輯工具增強: search_and_replaceinsert_content 工具已獲改進,並從實驗階段升級為正式功能", + "feature1": "編輯工具增強: search_and_replaceinsert_content 工具已獲改進,並從實驗階段升級為正式功能", + "feature2": "差異更新修復: 我們持續改進 apply_diff 工具", "feature3": "大量其他改進: 擴充套件中眾多的修復和增強功能", "hideButton": "隱藏公告", "detailsDiscussLinks": "在 DiscordReddit 取得更多詳細資訊並參與討論 🚀"