Skip to content

could not encode request: Unexpected message role. #376

Description

@MCJEModder2026

Before you start

  • I have read the FAQ and my problem is not answered there.
  • I have read the Roadmap and this is not already planned there.
  • I have searched existing issues and found no duplicate.
  • I am on the latest release, or on a freshly rebuilt main when building from source.

What happened

used pi agent, got:

could not encode request: Unexpected message role.

im guessing this is developer role support issue

How did you install FreeToken

Built from source

FreeToken version

86214a9

OS

Fedora

OS details

n/a

GPU and driver

n/a

CPU and system RAM

n/a

Checkpoint

n/a

Command

n/a

Full log

"POST /v1/chat/completions HTTP/1.1" 400 Bad Request

Anything else

No response

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

    bugSomething isn't workinglinuxneed-infoWaiting on the reporter for more information

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions