Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix Spotless line-ending violation in ExtractedTransforms.java
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/475d0c56-2512-48aa-8cf0-49249c795c94
  • Loading branch information
Copilot and edburns authored Mar 24, 2026
commit 698da9904ecf23802c997417a2e73dc2d785ca1f
60 changes: 30 additions & 30 deletions src/main/java/com/github/copilot/sdk/ExtractedTransforms.java
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import com.github.copilot.sdk.json.SystemMessageConfig;
/**
* Result of extracting transform callbacks from a {@link SystemMessageConfig}.
* <p>
* Holds a wire-safe copy of the system message config (with transform callbacks
* replaced by {@code action="transform"}) alongside the extracted callbacks
* that must be registered with the session.
*
* @param wireSystemMessage
* the system message config safe for JSON serialization; may be
* {@code null} when the input config was {@code null}
* @param transformCallbacks
* transform callbacks keyed by section identifier; {@code null} when
* no transforms were present
* @see SessionRequestBuilder#extractTransformCallbacks(SystemMessageConfig)
*/
record ExtractedTransforms(SystemMessageConfig wireSystemMessage,
Map<String, Function<String, CompletableFuture<String>>> transformCallbacks) {
}
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/

package com.github.copilot.sdk;

import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;

import com.github.copilot.sdk.json.SystemMessageConfig;

/**
* Result of extracting transform callbacks from a {@link SystemMessageConfig}.
* <p>
* Holds a wire-safe copy of the system message config (with transform callbacks
* replaced by {@code action="transform"}) alongside the extracted callbacks
* that must be registered with the session.
*
* @param wireSystemMessage
* the system message config safe for JSON serialization; may be
* {@code null} when the input config was {@code null}
* @param transformCallbacks
* transform callbacks keyed by section identifier; {@code null} when
* no transforms were present
* @see SessionRequestBuilder#extractTransformCallbacks(SystemMessageConfig)
*/
record ExtractedTransforms(SystemMessageConfig wireSystemMessage,
Map<String, Function<String, CompletableFuture<String>>> transformCallbacks) {
}
Loading