Skip to content

Commit dcacb9b

Browse files
Copilotedburns
andauthored
fix(java): address review feedback for system message sections
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
1 parent e31c878 commit dcacb9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

java/src/main/java/com/github/copilot/rpc/SystemMessageSections.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @see SectionOverride
2626
* @since 1.0.2
2727
*/
28-
public sealed class SystemMessageSections permits SystemPromptSections {
28+
public abstract sealed class SystemMessageSections permits SystemPromptSections {
2929

3030
/** Agent identity preamble and mode statement. */
3131
public static final String IDENTITY = "identity";

java/src/main/java/com/github/copilot/rpc/SystemPromptSections.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @deprecated Use {@link SystemMessageSections} — this class will be removed in
1414
* a future major version.
1515
* @see SystemMessageSections
16-
* @since 1.2.0
16+
* @since 1.0.2
1717
*/
1818
@Deprecated(since = "1.0.2", forRemoval = true)
1919
public final class SystemPromptSections extends SystemMessageSections {

0 commit comments

Comments
 (0)