agentscope-ai / agentscope-ai/agentscope-java
[Bug]: dashscope报错'dict object' has no attribute 'name'
- 主要語言
- Java
- 星號
- 5.6k
- 分支
- 1.3k
- 平均合併
- 4 天 12 小時
- 30 天內合併 PR
- 77
描述
1.0.12版本用qwen3.7max模型
访问报错DashScope API error: <400> InternalError.Algo.InvalidParameter: The provided messages input is invalid. The error info is ['dict object' has no attribute 'name'].
请求记录是:
{"ts":1780368544830,"event_type":"ERROR","agent_id":"eddbaa72-5b27-4e7d-bda0-fd4d70b2b09f","agent_name":"opsAgent","run_id":"0269d01a-9432-4813-85b6-7c3207a679ee","turn_id":1,"step_id":2,"error_class":"io.agentscope.core.model.DashScopeHttpClient$DashScopeHttpException","error_message":"DashScope API error: <400> InternalError.Algo.InvalidParameter: The provided messages input is invalid. The error info is ['dict object' has no attribute 'name'].","stacktrace":"io.agentscope.core.model.DashScopeHttpClient$DashScopeHttpException: DashScope API error: <400> InternalError.Algo.InvalidParameter: The provided messages input is invalid. The error info is ['dict object' has no attribute 'name'].\n\tat io.agentscope.core.model.DashScopeHttpClient.lambda$stream$2(DashScopeHttpClient.java:298)\n\tat reactor.core.publisher.FluxHandle$HandleSubscriber.onNext(FluxHandle.java:113)\n\tat reactor.core.publisher.FluxFilter$FilterConditionalSubscriber.onNext(FluxFilter.java:247)\n\tat reactor.core.publisher.FluxMap$MapConditionalSubscriber.onNext(FluxMap.java:224)\n\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.onNext(FluxSubscribeOn.java:151)\n\tat reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79)\n\tat reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runAsync(FluxPublishOn.java:446)\n\tat reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:533)\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:647)\n\tat java.base/java.lang.Thread.run(Thread.java:1686)\n"}
貢獻指南
評估
這個 Issue 還沒有評估資料。