Skip to content

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

@oleksandr-nc

Description

@oleksandr-nc

Follow-up from #463

Right now newSession and newMessage require clients to pass a timestamp. This is error-prone (see #452 where a client sent milliseconds instead of seconds) and redundant - the server already uses time() for assistant responses in ChattyLLMTaskListener

The timestamp parameter should be made optional and default to time() server-side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions