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

Prompts are grouped wrongly #741

@peppescg

Description

@peppescg

Describe the issue

There are some issues on grouped prompts ( endpoint /messages). In the below use cases, the same question hello was grouped into a previous prompt.

Steps to Reproduce

  • type a question already included in a previous prompt
  • it is grouped in the previous prompt

Operating System

MacOS (Arm)

IDE and Version

vscode 1.96.4

Extension and Version

Continue

Provider

any

Model

any

Codegate version

0.1.7

Logs

{
        "question_answers": [
            {
                "question": {
                    "message": "hello",
                    "timestamp": "2025-01-16T09:14:56.183652Z",
                    "message_id": "327801b2-a029-4ebb-aedc-b3a2710f3784"
                },
                "answer": {
                    "message": "Hello! How can I assist you today?",
                    "timestamp": "2025-01-16T09:14:56.893316Z",
                    "message_id": "86851e76-4877-4f7a-aec3-bbafff605ab7"
                }
            },
            {
                "question": {
                    "message": "hello",
                    "timestamp": "2025-01-23T11:35:42.191525Z",
                    "message_id": "c3368d0a-babf-4931-bcd5-bcc12a51ef9a"
                },
                "answer": {
                    "message": "Hello! How can I assist you today?",
                    "timestamp": "2025-01-23T11:35:42.378716Z",
                    "message_id": "2201adfe-f84a-4136-acd7-fcd3617574f7"
                }
            }
        ],
        "provider": "vllm",
        "type": "chat",
        "chat_id": "327801b2-a029-4ebb-aedc-b3a2710f3784",
        "conversation_timestamp": "2025-01-16T09:14:56.183652Z"
    },

Additional Context

Image

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions