我创建了一个名为CAT(代码助手工具)的简单项目,用来学习Continue.dev的工作原理。
注意: 该项目目前仅实现了基础的消息传递架构和基础设施。尚未实现实际的代码助手功能。重点是建立组件之间的通信框架。
I created a simple project called CAT (Code Assistant Tool) to learn how Continue.dev works.
Note: This project currently only implements the basic messaging architecture and infrastructure. The actual code assistant functionality has not yet been implemented. The focus is on establishing the communication framework between components.
MCP 最近很火,自己也为公司内部的Code Assistant Tool 实现了一个MCP Client。因为网上几乎全是教大家怎么写MCP Server的,很少有关于MCP Client,kotlin 实现的就更少了。所以我觉得有必要记录一下过程,以及遇到的问题,希望可以帮助大家。
MCP has been gaining popularity recently, and I’ve implemented an MCP Client for our company’s internal Code Assistant Tool. Since there are plenty of tutorials about writing MCP Servers but very few about MCP Clients, especially implementations in Kotlin, I feel it’s necessary to document the process and the challenges I encountered, hoping it will help others.
When using AzureOpenAIEmbeddings
, met a network error: Arguments: (ConnectionError(ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))),)
. Let’s see what happen.