Skip to content

Fix: Reconstruct chat thread based on chat history saved in submissions #238

Description

@Henrrypg

Currently OpenAI (And some other providers) have previous_response_id which we can keep the thread of the conversation, but this id has expiration of 30 days, the idea of this fix is first check if the key expired. if do, reconstruct the whole conversation in input_messages and store the new response_id.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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