Skip to content
New issue

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

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

Already on GitHub? # to your account

Complete @nestia/chat #1188

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Complete @nestia/chat #1188

merged 1 commit into from
Jan 13, 2025

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jan 13, 2025

This pull request includes significant updates to the packages/agent and packages/chat modules, introducing new functionalities, dependencies, and refactoring existing code. The most important changes include updating package versions, adding new methods to NestiaAgent, enhancing NestiaChatUploader and NestiaChatMovie, and introducing a MarkdownViewer component.

Updates to packages/agent:

  • Version Update:

    • Updated @nestia/agent version from 0.3.3 to 0.3.5 in package.json.
  • New Imports and Methods:

    • Added imports for INestiaAgentController and INestiaAgentProvider in NestiaAgent.ts.
    • Introduced getProvider and getControllers methods in NestiaAgent class.

Enhancements to packages/chat:

  • Version and Dependency Updates:

    • Updated @nestia/chat version from 0.2.1 to 0.1.0 and added new dependencies such as html2canvas, js-file-download, and react-json-editor-ajrm in package.json. [1] [2] [3] [4]
  • New Functionality:

    • Introduced publish.js script to automate the build and publish process, ensuring the correct version of @nestia/agent is used.
    • Added MarkdownViewer component to render markdown content with plugins for raw HTML and Mermaid diagrams.
  • Refactoring and Enhancements:

    • Refactored NestiaChatUploader to include form controls for HTTP connection and LLM arguments, and handle application state.
    • Enhanced NestiaChatMovie with new functionalities such as capturing screenshots and improved event handling for agent interactions. [1] [2] [3] [4]
    • Simplified the main entry point by replacing direct agent initialization with NestiaChatUploader.

Minor Changes:

  • Code Cleanup:
    • Removed unused imports and streamlined component structure in various files. [1] [2]

These changes collectively improve the functionality, usability, and maintainability of the @nestia/agent and @nestia/chat packages.

@samchon samchon added the enhancement New feature or request label Jan 13, 2025
@samchon samchon self-assigned this Jan 13, 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.

Everything is ready, and only documentation left.

@samchon samchon merged commit 6db01d7 into master Jan 13, 2025
3 checks passed
@samchon samchon deleted the feat/chat branch January 13, 2025 13:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant