Metadata-Version: 2.1
Name: nonebot-plugin-githubmodels
Version: 0.2.7
Summary: 一个调用 GitHub Models 的 AI 对话插件
Home-page: https://github.com/lyqgzbl/nonebot-plugin-githubmodels
License: MIT
Keywords: nonebot2,GitHub Models
Author: lyqgzbl
Author-email: admin@lyqgzbl.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: nonebot-plugin-alconna (>=0.54.0,<0.55.0)
Requires-Dist: nonebot-plugin-htmlrender (>=0.3.5,<0.4.0)
Requires-Dist: nonebot2 (>=2.2.1,<3.0.0)
Requires-Dist: openai (>=1.44.1,<2.0.0)
Project-URL: Documentation, https://github.com/lyqgzbl/nonebot-plugin-githubmodels#readme
Project-URL: Repository, https://github.com/lyqgzbl/nonebot-plugin-githubmodels
Description-Content-Type: text/markdown

<!-- markdownlint-disable MD033 MD036 MD041 -->

<div align="center">

<a href="https://v2.nonebot.dev/store">
  <img src="https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>

<p>
  <img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>

# nonebot-plugin-githubmodels

_✨ API调用GitHub models大语言模型 ✨_

<a href ="https://raw.githubusercontent.com/lyqgzbl/nonebot-plugin-githubmodels/refs/heads/main/LICENSE"><img src="https://img.shields.io/pypi/l/nonebot-plugin-githubmodels"> </a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-githubmodels"> <img src="https://img.shields.io/pypi/v/nonebot-plugin-githubmodels.svg" alt="pypi"></a> 
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">

</div>

# 安装
使用nb-cli [推荐]
```shell
nb plugin install nonebot-plugin-githubmodels
```
使用pip
```shell
pip install nonebot-plugin-githubmodels
```

# 使用
命令需要加 [NoneBot 命令前缀](https://nonebot.dev/docs/appendices/config#command-start-和-command-separator) (默认为`/`)  
使用命令`AI`/`ai`触发插件  
命令选项`-r` 重置上下文记忆  
命令选项`-i` 临时启用图片回复  

# 配置

配置参见 [.env.example](https://github.com/lyqgzbl/nonebot-plugin-githubmodels/blob/main/.env.example)

