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.10.tar.gz (9.3 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.10-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fileiodumpdeal-0.1.10.tar.gz
Algorithm Hash digest
SHA256 27020b306c2f39fc6a6016a65b0cc2a62d03f2ff1338f8e5db4d4f18e627fdbb
MD5 6ca9909694ceeffa99a9ce52a4493a82
BLAKE2b-256 b8bfed0c35a8e82920889d177a6980cd52f826bac89a232699ec7f17e84f6d40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fileiodumpdeal-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bdcc7f5a19689767df21dda7983f8f18e91f99d4b7a890e45305907388234c75
MD5 0e4c0db074759a48d5703d5c26c78d2c
BLAKE2b-256 cd46c4b0ef357297d2893c03434c15ff4bd016acf8f3a7be3e7d6a30d57a3a52

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