Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds worker messages #479

Merged
merged 5 commits into from
Jan 25, 2025
Merged

feat: Adds worker messages #479

merged 5 commits into from
Jan 25, 2025

Conversation

db0
Copy link
Member

@db0 db0 commented Jan 23, 2025

Adds worker messages. Worker messages can be assigned to one worker, or open for all workers (i.e. MOTDs)

Only moderators can make MOTDs. Moderators can set messages for any worker

Users can set messages for their own workers.

Messages will be returned with every pop. Messages on pop will include MOTDs and that workers individual messages.

New API endpoints added in /worker/messages to add/remove/view messages

Increases the max_context allowed per text worker

@tazlin
Copy link
Member

tazlin commented Jan 24, 2025

I can confirm the worker tolerates this API change without any worker changes required; previous versions will handle the new message field OK without crashing (though it obviously won't display it to the worker operator).

@db0 db0 merged commit 9ea3d23 into main Jan 25, 2025
3 of 4 checks passed
@db0 db0 deleted the max_context_up branch January 25, 2025 14:08
tazlin added a commit to Haidra-Org/horde-worker-reGen that referenced this pull request Jan 26, 2025
tazlin added a commit to Haidra-Org/horde-worker-reGen that referenced this pull request Jan 26, 2025
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