Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change the logo and release @petercatai/assistant #484

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Nov 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 8:54am

Copy link

Walkthrough

This pull request updates the branding of the project by changing all instances of "Peter Cat" to "PeterCat" across various documentation and code files. Additionally, it introduces a new useCallback hook in the assistant/src/Chat/index.tsx file to handle message requests asynchronously.

Changes

Files Summary
LICENSE, README.en-US.md, README.ja-JP.md, README.md, assistant/README.md, petercat_utils/README.md Updated project name from "Peter Cat" to "PeterCat".
assistant/src/Chat/index.tsx Introduced useCallback for handling asynchronous message requests.
client/.kiwi/* Updated project name from "Peter Cat" to "PeterCat" in various language files.
client/app/layout.tsx, client/app/page.tsx Updated meta tags and alt text to reflect the new project name.
client/public/images/logo-footer.svg, client/public/images/logo-inverse.svg, client/public/images/logo.svg Updated logos to reflect the new branding.
client/yarn.lock Updated dependencies.

return {
role: message.role,
// @ts-ignore
content: JSON.parse(message?.content),

Choose a reason for hiding this comment

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

Ensure that the content being parsed with JSON.parse is always a valid JSON string to prevent runtime errors. Consider adding validation or try-catch logic to handle potential parsing errors gracefully.

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 1 file with indirect coverage changes

@xingwanying xingwanying merged commit 030a1d2 into main Nov 18, 2024
5 checks passed
@xingwanying xingwanying deleted the chore_release branch November 18, 2024 08:54
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