Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Enforce non-empty ChatRequest messages#27

Merged
justgithubaccount merged 1 commit into
mainfrom
codex/add-min_length-validation-to-messages-field
Sep 29, 2025
Merged

Enforce non-empty ChatRequest messages#27
justgithubaccount merged 1 commit into
mainfrom
codex/add-min_length-validation-to-messages-field

Conversation

@justgithubaccount

Copy link
Copy Markdown
Owner

Summary

  • require ChatRequest.messages to contain at least one item using min_length=1

Testing

  • PYTHONPATH=apps/chat pytest apps/chat/tests (fails: async def functions are not natively supported)

https://chatgpt.com/codex/tasks/task_e_6895966d4f9c8330aa81fde8f728ccfa

@justgithubaccount justgithubaccount marked this pull request as ready for review September 29, 2025 17:47
@justgithubaccount justgithubaccount merged commit 2a562fc into main Sep 29, 2025
1 check passed
@justgithubaccount justgithubaccount deleted the codex/add-min_length-validation-to-messages-field branch October 9, 2025 13:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant