Error when chat with JManus #2265
Replies: 1 comment
-
fixed by add agent config |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The log shows:
2025-08-27 07:56:28.703 ERROR 1 --- [onPool-worker-6] c.a.c.a.e.m.p.c.ManusController : Failed to execute plan
java.lang.RuntimeException: Failed to create plan
at com.alibaba.cloud.ai.example.manus.planning.creator.PlanCreator.createPlan(PlanCreator.java:167)
at com.alibaba.cloud.ai.example.manus.planning.coordinator.PlanningCoordinator.executePlan(PlanningCoordinator.java:78)
at com.alibaba.cloud.ai.example.manus.planning.controller.ManusController.lambda$executeQuery$0(ManusController.java:141)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.IllegalStateException: Agent ChatClient not initialized, please specify model first
at com.alibaba.cloud.ai.example.manus.llm.LlmService.getPlanningChatClient(LlmService.java:277)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:216)
at jdk.proxy2/jdk.proxy2.$Proxy154.getPlanningChatClient(Unknown Source)
at com.alibaba.cloud.ai.example.manus.planning.creator.PlanCreator.createPlan(PlanCreator.java:106)
... 9 common frames omitted
but I have configured the model as below:
What's wrong with the configuration?
Best Regards!
Beta Was this translation helpful? Give feedback.
All reactions