Conversation
Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com> Agent-Logs-Url: https://github.com/Freeesia/WindowTranslator/sessions/65ed60bf-1f3b-4a87-959a-74cdecc465e1
Copilot
AI
changed the title
[WIP] Fix model download failure in bergamot translation plugin
Fix Bergamot model download: migrate from GitHub LFS to Google Cloud Storage
Mar 23, 2026
Owner
|
@copilot 可能であれば、GCSのライブラリ使って。 |
…Cloud.Storage.V1 Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com> Agent-Logs-Url: https://github.com/Freeesia/WindowTranslator/sessions/3f351cb4-bf0d-4a68-8951-32a9af5ec13d
Contributor
Author
対応しました(コミット 主な変更点:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
Fix Bergamot model download: migrate from GitHub LFS to Google Cloud Storage
Fix Bergamot model download: migrate from GitHub LFS/API to Google Cloud Storage
Mar 25, 2026
ValidateAsyncメソッド内でダイアログを閉じる処理を、Application.Current.Dispatcher.Invokeを用いてUIスレッド上で実行するよう修正しました。これにより、UIスレッドでのみ許可される操作が安全に行われるようになります。また、usingディレクティブの整理も行いました。
Freeesia
requested changes
Mar 25, 2026
Plugins/WindowTranslator.Plugin.BergamotTranslatorPlugin/BergamotTranslator.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Freeesia <9002657+Freeesia@users.noreply.github.com> Agent-Logs-Url: https://github.com/Freeesia/WindowTranslator/sessions/087d506f-1014-4dbf-a28a-d34f5d63f2b5
Freeesia
approved these changes
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mozilla/firefox-translations-modelswas archived in December 2025 and its GitHub LFS objects were deleted (LFS batch API returns410 Gone), causing model downloads to fail.Changes
Repository.Content.GetAllContents) with GCSdb/models.json(https://storage.googleapis.com/moz-fx-translations-data--303e-prod-translations-data/db/models.json). The index is fetched at runtime and cached, so the plugin automatically picks up new models without code changes.Google.Cloud.Storage.V1(StorageClient.CreateUnauthenticated()) to stream model files directly from the GCS bucket. Both the JSON index fetch and binary downloads use the GCS library.releaseStatus == "Release"models, with architecture fallback orderbase → base-memory → tiny.Octokit/IGitHubClientare no longer needed and have been removed from the plugin.Google.Cloud.Storage.V1 4.14.0.Original prompt
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.