From aa63f5f7d3ba1cedf83988b8d5c8a038255f3aa2 Mon Sep 17 00:00:00 2001 From: xinyi-gong Date: Thu, 7 May 2026 12:15:23 +0800 Subject: [PATCH 1/3] update byok disable tip --- CHANGELOG.md | 1 + .../copilot/eclipse/ui/preferences/ByokPreferencePage.java | 2 +- .../com/microsoft/copilot/eclipse/ui/preferences/Messages.java | 2 +- .../copilot/eclipse/ui/preferences/messages.properties | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ecde43c..04629590 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update the combos rendering and add context button style in chat view. +- Support custom models (BYOK) for Copilot Business and Enterprise users. ### Fixed - Fix ConcurrentModificationException in CompletionProvider listener iteration. [PR#13](https://github.com/microsoft/copilot-for-eclipse/pull/13) diff --git a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/ByokPreferencePage.java b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/ByokPreferencePage.java index 76450a6d..1392a529 100644 --- a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/ByokPreferencePage.java +++ b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/ByokPreferencePage.java @@ -178,7 +178,7 @@ protected Control createContents(Composite parent) { disabledCompositeLayout.marginHeight = 0; disabledComposite.setLayout(disabledCompositeLayout); WrappableIconLink.createWithCustomizedImage(disabledComposite, "/icons/information.png", - Messages.preferences_page_byok_preview_disabled_tip); + Messages.preferences_page_byok_disabled_tip); contentComposite = createByokView(pageStateStack); updatePageState(); root.addDisposeListener(e -> { diff --git a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/Messages.java b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/Messages.java index bce65aed..72e62334 100644 --- a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/Messages.java +++ b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/Messages.java @@ -46,7 +46,7 @@ public class Messages extends NLS { public static String preferences_page_byok_dialog_remove; public static String preferences_page_byok_customModels; public static String preferences_page_byok_enabledCount; - public static String preferences_page_byok_preview_disabled_tip; + public static String preferences_page_byok_disabled_tip; public static String preferences_page_completions_codeMiningNote; public static String preferences_page_customModes_defaultDescription; public static String preferences_page_customModes_defaultInstructions; diff --git a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties index 2b06110a..4b5aace0 100644 --- a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties +++ b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties @@ -34,7 +34,7 @@ preferences_page_byok_dialog_cancel=Cancel preferences_page_byok_dialog_remove=Remove preferences_page_byok_customModels=Custom Models preferences_page_byok_enabledCount=%s of %s Enabled -preferences_page_byok_preview_disabled_tip=Custom models are available to Individual Copilot Users (Pro+, Pro and Free) who have enabled the Editor preview features in their Copilot Settings. +preferences_page_byok_disabled_tip=Custom models are disabled by your enterprise GitHub settings. Please contact your organization's administrator for more information. preferences_page_completions_codeMiningNote= You need to enable 'Code Minings' to use inline completions in Eclipse 2024-12 (4.34) and later. preferences_page_customModes_defaultDescription=Describe what this custom agent does and when to use it. From 2f58798379feb8aba31b338806ba7c3f29aa25e5 Mon Sep 17 00:00:00 2001 From: xinyi-gong Date: Thu, 7 May 2026 12:50:34 +0800 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04629590..8ac26ad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,10 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add rate limit warning banner in chat view. [PR#17](https://github.com/microsoft/copilot-for-eclipse/pull/17) - Support delegating read directory to IDE. [PR#18](https://github.com/microsoft/copilot-for-eclipse/pull/18) - Support delegating file and text search to IDE. [PR#22](https://github.com/microsoft/copilot-for-eclipse/pull/22) +- Support custom models (BYOK) for Copilot Business and Enterprise users. [PR#140](https://github.com/microsoft/copilot-for-eclipse/pull/140) ### Changed - Update the combos rendering and add context button style in chat view. -- Support custom models (BYOK) for Copilot Business and Enterprise users. ### Fixed - Fix ConcurrentModificationException in CompletionProvider listener iteration. [PR#13](https://github.com/microsoft/copilot-for-eclipse/pull/13) From e9f4581b780fb499454eeed6df77969e54b3a9fa Mon Sep 17 00:00:00 2001 From: xinyi-gong Date: Thu, 7 May 2026 12:58:57 +0800 Subject: [PATCH 3/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../copilot/eclipse/ui/preferences/messages.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties index 4b5aace0..4c961f58 100644 --- a/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties +++ b/com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties @@ -34,7 +34,7 @@ preferences_page_byok_dialog_cancel=Cancel preferences_page_byok_dialog_remove=Remove preferences_page_byok_customModels=Custom Models preferences_page_byok_enabledCount=%s of %s Enabled -preferences_page_byok_disabled_tip=Custom models are disabled by your enterprise GitHub settings. Please contact your organization's administrator for more information. +preferences_page_byok_disabled_tip=Custom models are disabled by your organization's GitHub settings. Please contact your organization's administrator for more information. preferences_page_completions_codeMiningNote= You need to enable 'Code Minings' to use inline completions in Eclipse 2024-12 (4.34) and later. preferences_page_customModes_defaultDescription=Describe what this custom agent does and when to use it.