Skip to content

Add YAML tasks file support#31

Closed
Doga0 wants to merge 1 commit into
huggingface:mainfrom
Doga0:yaml-tasks-file-format
Closed

Add YAML tasks file support#31
Doga0 wants to merge 1 commit into
huggingface:mainfrom
Doga0:yaml-tasks-file-format

Conversation

@Doga0

@Doga0 Doga0 commented Jun 24, 2026

Copy link
Copy Markdown

This PR adds YAML task file support while keeping the existing .txt behavior unchanged.

Since the repository only noted that YAML task files are not yet implemented, this PR proposes two minimal YAML shapes: a top-level list of prompt strings, and a tasks: list where each item can be either a string or an object with a prompt field.

Changes:

  • Supports .yaml and .yml files in read_tasks_txt
  • Keeps PyYAML optional via soft import
  • Adds an optional yaml extra
  • Updates CLI help and capture docs
  • Adds tests for YAML task parsing and missing PyYAML behavior

@dacorvo

dacorvo commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

@Doga0 thank you for your interest in the project, but we are not accepting external pull-requests until the code is more polished. We are in the middle of a migration to a full rust client from the python protoype application.

@dacorvo dacorvo closed this Jun 25, 2026
@Doga0

Doga0 commented Jun 25, 2026

Copy link
Copy Markdown
Author

@Doga0 thank you for your interest in the project, but we are not accepting external pull-requests until the code is more polished. We are in the middle of a migration to a full rust client from the python protoype application.

Hello, thanks for the clarification. This is my first attempt to contribute to an open-source project 😅I would be happy to contribute again once external contributions are welcome. Good luck with the migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants