File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
main/java/io/serverlessworkflow/fluent/agentic
test/java/io/serverlessworkflow/fluent/agentic Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1515 */
1616package io .serverlessworkflow .fluent .agentic ;
1717
18- import static dev .langchain4j .agentic .internal .AgentExecutor .agentsToExecutors ;
18+ import static dev .langchain4j .agentic .internal .AgentUtil .agentsToExecutors ;
1919
20- import dev .langchain4j .agentic .Cognisphere ;
20+ import dev .langchain4j .agentic .cognisphere . Cognisphere ;
2121import dev .langchain4j .agentic .internal .AgentExecutor ;
2222import dev .langchain4j .agentic .internal .AgentInstance ;
2323import io .serverlessworkflow .impl .expressions .LoopPredicateIndex ;
2727import java .util .stream .Stream ;
2828
2929public final class AgentAdapters {
30+
3031 private AgentAdapters () {}
3132
3233 public static List <AgentExecutor > toExecutors (Object ... agents ) {
33- return agentsToExecutors (Stream .of (agents ).map (AgentInstance .class ::cast ).toList ());
34+ return agentsToExecutors (Stream .of (agents ).map (AgentInstance .class ::cast ).toArray ());
3435 }
3536
3637 public static Function <Cognisphere , Object > toFunction (AgentExecutor exec ) {
Original file line number Diff line number Diff line change 1515 */
1616package io .serverlessworkflow .fluent .agentic ;
1717
18- import dev .langchain4j .agentic .Cognisphere ;
18+ import dev .langchain4j .agentic .cognisphere . Cognisphere ;
1919import dev .langchain4j .agentic .internal .AgentExecutor ;
2020import io .serverlessworkflow .api .types .ForTaskConfiguration ;
2121import io .serverlessworkflow .api .types .func .ForTaskFunction ;
Original file line number Diff line number Diff line change 2424import static org .mockito .Mockito .spy ;
2525
2626import dev .langchain4j .agentic .AgentServices ;
27- import dev .langchain4j .agentic .Cognisphere ;
27+ import dev .langchain4j .agentic .cognisphere . Cognisphere ;
2828import io .serverlessworkflow .api .types .ForkTask ;
2929import io .serverlessworkflow .api .types .Task ;
3030import io .serverlessworkflow .api .types .TaskItem ;
You can’t perform that action at this time.
0 commit comments