Skip to content

Use the current date by default for new messages and new sessions#568

Merged
janepie merged 1 commit into
mainfrom
enh/500/default-chat-session-or-message-date
Jun 3, 2026
Merged

Use the current date by default for new messages and new sessions#568
janepie merged 1 commit into
mainfrom
enh/500/default-chat-session-or-message-date

Conversation

@julien-nc
Copy link
Copy Markdown
Member

closes #500

Self-explanatory 😁

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc requested review from janepie and marcelklehr June 2, 2026 13:52
@julien-nc julien-nc added enhancement New feature or request 3. to review labels Jun 2, 2026
* Create a new chat session, add a system message with user instructions
*
* @param int $timestamp The session creation date
* @param ?int $timestamp The session creation date
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Didn't know this was valid docblock syntax

@janepie janepie merged commit 1a918d3 into main Jun 3, 2026
17 checks passed
@janepie janepie deleted the enh/500/default-chat-session-or-message-date branch June 3, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make timestamp parameter optional in chat API and default to server-side "time()"

3 participants