chiefleo

Results 3 issues of chiefleo

…ai.dashscope.api.DashScopeApi$ChatCompletionOutput.choices()" because the return value of "com.alibaba.cloud.ai.dashscope.api.DashScopeApi$ChatCompletionChunk.output()" is null ### Describe what this PR does / why we need it ### Does this pull request fix one issue? ### Describe...

**Bug description** SSE方式接入高德MCP报错,同样的SSE配置在cursor里面运行是没有问题的 高德SSE参考文档:https://lbs.amap.com/api/mcp-server/gettingstarted#s2 application.properties配置: spring.ai.mcp.client.enabled=true spring.ai.mcp.client.request-timeout=20s spring.ai.mcp.client.sse.connections.server1.url=https://mcp.amap.com/sse?key=xxx 报错信息: [alsc.sales_data_center^^A47F9B75ACA3410330606ECA34F91A86|1744771227656][1] -2025-04-16 10:40:27.656 ERROR 16815 --- [HttpClient-1-Worker-2] i.m.c.t.WebFluxSseClientTransport : Fatal SSE error, not retrying: 200 OK from GET https://mcp.amap.com/sse, but response...

MCP

经过ChatGPT定位,代码可能有如下问题,辛苦官方大大们后续迭代时考虑优化一下,谢谢~ 1. **过度渲染**:ChatInputArea组件在内容变化时可能导致整个消息列表重新渲染。 2. **大量状态更新**:每次输入都会触发setContent,然后重新渲染组件树。 3. **Markdown渲染性能**:大量Markdown内容的实时渲染可能造成性能瓶颈。 4. **虚拟列表缺失**:消息列表没有使用虚拟化技术,所有消息都在DOM中。

question