Skip to content

OpenAI developer-role messages misclassified as user #10

Description

@royalpinto007

Problem

{"role": "developer", "content": "do X"} lands in the user segment; only system/user/assistant/tool are handled.

Where

src/ctxlens/parsers/openai_chat.py (binary assistant-vs-rest classification).

Acceptance

Add a failing test first parsing a developer-role message, expecting the system segment. Then fix.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions