Skip to content

Conversation

@Mencuis
Copy link

@Mencuis Mencuis commented Jan 7, 2026

Make the Chinese tool descriptions in the logs readable.

Make the Chinese tool descriptions in the logs readable.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a json.dumps call to preserve non-ASCII characters, which makes logs with Chinese characters readable. While the change is correct for its intended purpose, I've pointed out that using print() for logging in a library is an anti-pattern. I've recommended switching to Python's standard logging module, which is used elsewhere in the project, and provided a specific suggestion to implement this. This will improve maintainability and make the library friendlier to its users.

@Mencuis Mencuis changed the title Update JSON dump to ensure ASCII characters are preserved [tool] Update JSON dump to ensure ASCII characters are preserved Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants