Metadata-Version: 2.1
Name: nonebot_plugin_suggarchat
Version: 2.2.0
Summary: Plugin for the Suggar chat framework compatible with Nonebot2.
Keywords: chat", "suggar", "nonebot
Author-Email: JohnRichard4096 <windowserror@163.com>
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/LiteSuggarDEV/nonebot_plugin_suggarchat
Project-URL: Source, https://github.com/LiteSuggarDEV/nonebot_plugin_suggarchat
Project-URL: Issue Tracker, https://github.com/LiteSuggarDEV/nonebot_plugin_suggarchat/issues
Requires-Python: <4.0,>=3.9
Requires-Dist: jieba>=0.42.1
Requires-Dist: nonebot2>=2.2.0
Requires-Dist: openai>=1.5.0
Requires-Dist: pydantic>=2.4.2
Requires-Dist: nonebot-adapter-onebot>=2.0.0
Requires-Dist: nonebot-plugin-localstore>=0.7
Requires-Dist: chardet>=5.1.0
Requires-Dist: typing-extensions>=4.6.0
Requires-Dist: pytz>=2025.1
Requires-Dist: tomli>=2.0.0
Requires-Dist: tomli-w>=1.0.0
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://github.com/JohnRichard4096/nonebot_plugin_suggarchat/">
    <img src="https://github.com/user-attachments/assets/b5162036-5b17-4cf4-b0cb-8ec842a71bc6" width="200" alt="SuggarChat Logo">
  </a>
  <h1>SuggarChat</h1>
  <h3>高扩展性大模型聊天框架</h3>

[![PyPI Version](https://img.shields.io/pypi/v/nonebot-plugin-suggarchat?color=blue&style=flat-square)](https://pypi.org/project/nonebot-plugin-suggarchat/)
[![Python Version](https://img.shields.io/badge/python-3.9+-blue?logo=python&style=flat-square)](https://www.python.org/)
[![NoneBot Version](https://img.shields.io/badge/nonebot2-2.0.0rc4+-blue?style=flat-square)](https://nonebot.dev/)
[![License](https://img.shields.io/github/license/JohnRichard4096/nonebot_plugin_suggarchat?style=flat-square)](LICENSE)
[![QQ Group](https://img.shields.io/badge/QQ%E7%BE%A4-1002495699-blue?style=flat-square)](https://qm.qq.com/q/PFcfb4296m)

</div>

## ✨ 核心特性

### 🚀 核心功能
- 开箱即用的 OpenAI/DeepSeek/Gemini...... 协议支持
- 可独立运行的基本聊天机器人
- 支持群聊/私聊双模式
- AT触发与智能上下文管理
- 戳一戳消息交互支持
- 多模型热切换能力
- 多角色热切换能力

### 🧩 扩展体系
- 模块化协议适配器架构
- 开放插件API接口
- SuggarMatcher扩展处理器
- 自定义消息解析引擎

### 🛠️ 高级能力
- 伪人模式（随机概率自动回复）
- 消息撤回缓解机制
- 异常日志推送至管理群
- 会话生命周期控制
- Token智能管理策略


# 开始
[点我前往Wiki](https://github.com/LiteSuggarDEV/nonebot_plugin_suggarchat/wiki)
