通过文件IO的方式实现从Flarum获取任务要求并提交执行结果
Project description
FileIoDumpDeal 文件方式导出提交任务
1 设计目的
通过文件IO的方式实现获取自然语言定义任务要求并提交执行结果。
2 安装指南
在Windows或Linux系统中,执行如下命令
uv tool install FileIoDumpDeal
即可得到 DumpDealFlarum 可执行文件,对应目录分别是
- 在Windows下,
%HOMEPATH%\.local\bin\DumpDealFlarum.exe - 在Linux下,
$HOME/.local/bin/DumpDealFlarum
3 配置指南
- 创建新的工作目录,假定是
<WorkDir> - 在终端窗口进入到
<WorkDir>
3.1 配置LLM
编辑 <WorkDir>/flarum.env文件,以Ollama模型为例,配置如下:
FLARUM_URL=http://example.flarum.com
FLARUM_TOKEN=<token>
FLARUM_TAG_FOCUS=general
CRON_PARAM_DEFAULT=every 1h
4 运行命令
DumpDealFlarum <McpTaskDir> <WorkDir>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fileiodumpdeal-0.1.25.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fileiodumpdeal-0.1.25.tar.gz.
File metadata
- Download URL: fileiodumpdeal-0.1.25.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc41ca4f27333e13d2dec0bd6bbe1dd5eae7269220246a25f156aca67cf8d6c4
|
|
| MD5 |
ad6f8c396220c8412ef1ec1620370fc7
|
|
| BLAKE2b-256 |
dad5111527aa2cb9279d2fb5d4b6baa865b480788e0c3f57a6819ec61d104264
|
File details
Details for the file fileiodumpdeal-0.1.25-py3-none-any.whl.
File metadata
- Download URL: fileiodumpdeal-0.1.25-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d64d4a4f39a412b218df984f72b5ec055f9561884bbebe5c254cff85530ecba5
|
|
| MD5 |
ab1acdfc97e5167cd203e3f7e9756d58
|
|
| BLAKE2b-256 |
f417498b13fbf5a5dab279c12e28b6f5548e50e6e4cb0ebd9494782094c4c35a
|