Skip to main content

通过文件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 配置指南

  1. 创建新的工作目录,假定是<WorkDir>
  2. 在终端窗口进入到 <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


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.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fileiodumpdeal-0.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file fileiodumpdeal-0.1.1.tar.gz.

File metadata

  • Download URL: fileiodumpdeal-0.1.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for fileiodumpdeal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 879f1eb9e0d8fe30e39b7c234e9152968385657a38b091babc9d6872eb9dfff9
MD5 029817ce1a671bfb69599872f1fdf771
BLAKE2b-256 80e320a699e96fee51d6bb315edefb0b3f4a5b11909c200240711a986b90168b

See more details on using hashes here.

File details

Details for the file fileiodumpdeal-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fileiodumpdeal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43b09a6e8300f9bc61c6ccf84a3c9e492bd0c903fc9c017731baae08f820cb16
MD5 0d02952a028eff3d8e6dc3fb2cfd9b76
BLAKE2b-256 2912bf2aaa5d7644fdd51589b424f851f89e1567a8b6982838f63b296aa2a5dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page