Skip to content

Commit 68b5a6f

Browse files
authored
feat - update BYOK disable tip (#140)
1 parent 321a1db commit 68b5a6f

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Add rate limit warning banner in chat view. [PR#17](https://github.com/microsoft/copilot-for-eclipse/pull/17)
1212
- Support delegating read directory to IDE. [PR#18](https://github.com/microsoft/copilot-for-eclipse/pull/18)
1313
- Support delegating file and text search to IDE. [PR#22](https://github.com/microsoft/copilot-for-eclipse/pull/22)
14+
- Support custom models (BYOK) for Copilot Business and Enterprise users. [PR#140](https://github.com/microsoft/copilot-for-eclipse/pull/140)
1415

1516
### Changed
1617
- Update the combos rendering and add context button style in chat view.

com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/ByokPreferencePage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ protected Control createContents(Composite parent) {
178178
disabledCompositeLayout.marginHeight = 0;
179179
disabledComposite.setLayout(disabledCompositeLayout);
180180
WrappableIconLink.createWithCustomizedImage(disabledComposite, "/icons/information.png",
181-
Messages.preferences_page_byok_preview_disabled_tip);
181+
Messages.preferences_page_byok_disabled_tip);
182182
contentComposite = createByokView(pageStateStack);
183183
updatePageState();
184184
root.addDisposeListener(e -> {

com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/Messages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class Messages extends NLS {
4646
public static String preferences_page_byok_dialog_remove;
4747
public static String preferences_page_byok_customModels;
4848
public static String preferences_page_byok_enabledCount;
49-
public static String preferences_page_byok_preview_disabled_tip;
49+
public static String preferences_page_byok_disabled_tip;
5050
public static String preferences_page_completions_codeMiningNote;
5151
public static String preferences_page_customModes_defaultDescription;
5252
public static String preferences_page_customModes_defaultInstructions;

com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/preferences/messages.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ preferences_page_byok_dialog_cancel=Cancel
3434
preferences_page_byok_dialog_remove=Remove
3535
preferences_page_byok_customModels=Custom Models
3636
preferences_page_byok_enabledCount=%s of %s Enabled
37-
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.
37+
preferences_page_byok_disabled_tip=Custom models are disabled by your organization's GitHub settings. Please contact your organization's administrator for more information.
3838
preferences_page_completions_codeMiningNote= You need to enable <a>'Code Minings'</a> to use inline completions in Eclipse 2024-12 (4.34) and later.
3939

4040
preferences_page_customModes_defaultDescription=Describe what this custom agent does and when to use it.

0 commit comments

Comments
 (0)