Skip to content

UnicodeDecodeError occurred #64

Description

@Kazunari001

Description

When I ran pytest on Windows with the Japanese localem an error occurred due to an endoding mismatch.

Steps to reproduce

I followed the demo steps for helpdesk-bot, but an error occurred when I ran pytest tests/test_xpia.py -v.

Expected behavior

Expected outcome: all three tests fail. The assertion message names the exact bad tool call. Captured from a real run against gpt-4o:

Actual behavior

UnicodeDecodeError: 'cp932' codec can't decode byte 0x94 in position 827: illegal multibyte sequence error occurred.

Python version

3.13

Operating system

Windows

RAMPART version

0.1.0

Code to reproduce

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions