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

Fix hook issue of chat #1191

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Fix hook issue of chat #1191

merged 2 commits into from
Jan 15, 2025

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jan 15, 2025

This pull request includes several updates to the packages/chat module, focusing on version upgrades, new script additions, and improvements to the NestiaChatMovie component. The most important changes include updating the package version, adding a new deploy script, and enhancing the state management and event handling in the NestiaChatMovie component.

Updates to package.json:

  • Updated the version from 0.1.2 to 0.2.1 to reflect new changes.
  • Added a new deploy script to automate deployment processes.

Enhancements to NestiaChatMovie component:

  • Added INestiaAgentTokenUsage to the import list from @nestia/agent.
  • Improved state initialization for histories and tokenUsage by using deep copies of the agent's data.
  • Refactored event handlers to directly update state arrays for histories and selections.
  • Modified the handleKeyUp function to reset and update histories and tokenUsage after conversation.

Configuration changes:

  • Updated the backend host URL for the shopping API from http://localhost:37001 to https://shopping-be.wrtn.ai/.
  • Added locale configuration to the shopping API connection.

@samchon samchon added bug Something isn't working enhancement New feature or request labels Jan 15, 2025
@samchon samchon self-assigned this Jan 15, 2025
Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

OK, working properly.

@samchon samchon merged commit 23538d0 into master Jan 15, 2025
4 checks passed
@samchon samchon deleted the feat/chat branch January 15, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant