Skip to content

Commit fca0737

Browse files
committed
a2a support
1 parent 44ab5ce commit fca0737

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>io.github.vishalmysore</groupId>
2424
<artifactId>a2ajava</artifactId>
25-
<version>0.0.7.3</version>
25+
<version>0.0.7.9</version>
2626
</dependency>
2727

2828
<dependency>

src/main/java/io/github/vishalmysore/example/a2a/A2AJavaAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static void main(String[] args) throws AIProcessingException {
1919
= "hey I am in Toronto do you think i can go out without jacket";
2020

2121
// Get the client from Spring context
22-
LocalA2ATaskClient client = context.getBean(LocalA2ATaskClient.class);
22+
LocalA2ATaskClient client = new LocalA2ATaskClient();
2323

2424
// Send task and log response
2525
Task t = client.sendTask(prompt);

0 commit comments

Comments
 (0)