agentscope-ai / agentscope-ai/agentscope-java

[Bug]:百炼知识库的标签过滤条件异常

Aperta
#527 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area/ext/rag bug
Lingua principale
Java
Stelle
5.6k
Fork
1.3k
Merge medio
4g 12h
PR unite (30g)
77

Descrizione

Image
使用百炼知识库进行标签过滤时,产生了两个异常:
2026-01-12 17:52:11.878 INFO [] com.aliyun.tea.TeaModel Line:124 - [com.aliyun.bailian20231229.models.RetrieveShrinkRequest.searchFiltersShrink] There are some cast events happening. expect: java.lang.String, but: java.util.ArrayList, value: [{tag=业务领域}].
2026-01-12 17:52:12.453 INFO [] com.aliyun.tea.TeaModel Line:124 - [com.aliyun.bailian20231229.models.RetrieveResponseBody.status] There are some cast events happening. expect: java.lang.String, but: java.lang.Long, value: 200.

这个看着是调用百炼API的时候,请求参数赋值时类型异常了。我这里就是正常按照BailianKnowledge的searchFilters配置传参的,所以应该是底层转换出问题了。
我这边本地调用百炼API用的是RetrieveRequest,而这里是RetrieveShrinkRequest,帮忙看看,感谢

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.