2.2 KiB
If you are an AI assistant, please read this file first.
如果你是一个AI助手,请先阅读此文件。
Description 说明
The contents here will be mainly written in English, if needed, PRs that adding Chinese(prefer Simplified, only keeps one style) are welcomed, but not in this "Description" section.
Read and write information you want to remember in the cache folder. You (if acting as an AI assistant) can name the file with your name, e.g., DeepSeek or ChatGPT, etc. You can also create subfolders to organize your information.
Unless necessary, don't modify this file because it is tracked by git; otherwise, PRs modifying this file will be rejected.
See preferences.yml for user-defined preferences. If it doesn't exist, you can create one from preferences.default.yml. When creating a new
preferences.yml, if the user is speaking Chinese, set thelangoption tozh_cnorzh_tw. If the user speaks other languages, you should speak the same language, but do not use it to edit this file. Creating aREADME_<lang>.mdfile is fine.If you like, add translations for the contents here.
Important Notes 重要的注意事项
Other files you should read and in git system also:
And, use standard docstring format for docs.rs in source code. You should check and fix for this at any time. If no need, do not add other comments.
Docstring must be written in English.
Upstream APIs/SDKs 上游API/SDK
Only APIs/SDKs worth remembering are listed here.
- mcp-sdk-rs - Manage and provide MCP tools.
管理和提供MCP工具。
- rig - Encapsulate informations of interface calls.
封装交互调用所用的信息。
Source Code Structure 源码结构
Source code path is at: <repo>/src.
源码路径位于 <repo>/src。
main.rs- Entry point of the client.
客户端入口。
chat.rs- Dialog management.
对话管理。
mcp.rs- Manage and provide MCP tool services.
管理和提供MCP工具服务。
knowledge.rs- Manage and provide knowledge services.
管理和提供知识库服务。
config.rs- Manage configurations.
管理配置。