hlwz5735
hlwz5735
> XAgent里读stream流的时候顺带更新conversationId不就行了 考虑到可能会在不同的场合下复用请求的逻辑,我把自定义的request方法实现写在了单独的ts文件里了,不在组件里,所以没办法直接更新组件的状态…… 虽然用状态管理库可以在组件之外更新状态,但是还是考虑到一旦这样做,基本上这个request方法就和使用了相关状态的页面组件高度耦合了,还是没区别……
@WangJincheng4869 我非常同意你的观点,哥们,理论上非常简单的事儿,真的,哪那么麻烦啊! 求人不如求己,还是选择自己打补丁吧: ```typescript import type * as LinkifyIt from 'linkify-it' // 非法 URL 字符,主要是中文标点符号 const INVALID_URL_CHARS = /[,。、!?:;()【】《》〉」』〕〗]/ const urlValidator: LinkifyIt.Validate = (text: string, pos: number, self: any) =>...
> I tried to fix CJK punctuation at least, but found this collision > > ``` > https://zh.wikipedia.org/wiki/( > https://zh.wikipedia.org/wiki/(你让我)神魂颠倒 > https://zh.wikipedia.org/wiki/(後)大中華佛國 > https://zh.wikipedia.org/wiki/(我得不到)满足 > https://zh.wikipedia.org/wiki/(步)解 > https://zh.wikipedia.org/wiki/(海員)社會保障公約(修訂本) > https://zh.wikipedia.org/wiki/()...
Thanks for the detailed explanation. You've made it clear that you care more about theoretical correctness and algorithm maintainability than about real-world usability for Chinese users. That's your choice as...
This is because you can't use reasoning LLM model(like DeepSeek-R1). The auto rename feature will invoke system default LLM and expect that it will return a JSON string. Because Reasoning...
The work of integrating MinerU is not too complex, and you can refer to the implementation at https://github.com/HKUDS/RAG-Anything. If you are worried that integrating MinerU's model will further expand the...
> > The work of integrating MinerU is not too complex, and you can refer to the implementation at https://github.com/HKUDS/RAG-Anything. If you are worried that integrating MinerU's model will further...
+1 I's soo annoying.