Skip to content

Commit 6d99d88

Browse files
committed
added a2ui support and display part
1 parent 649299f commit 6d99d88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.vishalmysore</groupId>
88
<artifactId>a2ajava</artifactId>
9-
<version>1.0.2</version>
9+
<version>1.0.3</version>
1010
<name>A2A Protocol Implementation for Java</name>
1111
<description>
1212
Java implementation of the A2A protocol v1.0, which allows for the exchange of data between different AI systems.

src/main/java/io/github/vishalmysore/a2ui/A2UIAware.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ default Map<String, Object> buildA2UIMessageWithData(String surfaceId, String ro
315315

316316
return messages;
317317
}
318-
default boolean isUICallback(ThreadLocal<ActionCallback> callback) {
319-
return callback != null && callback.get()!=null && callback.get().getType().equals(CallBackType.A2UI.name());
318+
default boolean isUICallback(ActionCallback callback) {
319+
return callback != null && callback.getType().equals(CallBackType.A2UI.name());
320320
}
321321
}

0 commit comments

Comments
 (0)