Skip to content

Prompt tests#70

Merged
pragmatrix merged 7 commits into
masterfrom
prompt-tests
May 21, 2026
Merged

Prompt tests#70
pragmatrix merged 7 commits into
masterfrom
prompt-tests

Conversation

@pragmatrix
Copy link
Copy Markdown
Owner

This PR adds prompt tests and improves the prompting delay logic in the openai-dialog service.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve prompt handling in the openai-dialog service by introducing a prompt-delay feature (with default enablement) and adding developer ergonomics for sending prompts via stdin/FIFO while running the dialog example.

Changes:

  • Introduces a prompt-delay feature (enabled by default) and refactors prompt scheduling into a PromptCoordinator.
  • Updates prompt sending/error handling paths to support delayed prompt dispatch and rescheduling on active-response conflicts.
  • Enhances the dialog example and justfile to support sending prompts interactively (stdin) and via a FIFO workflow.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

File Description
services/openai-dialog/src/client.rs Refactors prompt dispatch into a feature-gated coordinator and adds shared prompt-send helper.
services/openai-dialog/Cargo.toml Adds prompt-delay feature and enables it by default.
justfile Adds FIFO-based helper recipes for sending prompts to the dialog example.
examples/dialog.rs Adds stdin-driven prompt injection while the audio dialog runs.

Comment thread services/openai-dialog/src/client.rs
Comment thread services/openai-dialog/src/client.rs
Comment thread justfile Outdated
Comment thread services/openai-dialog/Cargo.toml
pragmatrix and others added 2 commits May 21, 2026 07:44
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@pragmatrix pragmatrix merged commit ae75013 into master May 21, 2026
6 checks passed
@pragmatrix pragmatrix deleted the prompt-tests branch May 21, 2026 05:46
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