@nestia/agent
multiple applications (swagger / TS class).
#1183
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From now on,
@nestia/agent
supports multiple swagger files and typescript classes at the same time.This pull request includes significant changes to the
packages/agent
module, focusing on ESLint configuration updates, renaming and restructuring of files, and the addition of a new class for the Nestia agent chatbot. The most important changes are summarized below:ESLint Configuration Updates:
.eslintrc.cjs
and added a new configuration ineslint.config.mjs
to use the latest ESLint and TypeScript ESLint configurations. [1] [2]File Renaming and Restructuring:
NestiaChatAgentSystemPrompt.ts
toNestiaAgentSystemPrompt.ts
in the build script to reflect the updated naming convention.Package Updates:
package.json
to reflect the new version0.3.0
, added new dependencies for ESLint, and included a new script for running ESLint. [1] [2] [3]New Nestia Agent Class:
NestiaAgent
class inNestiaAgent.ts
, which consolidates the functionality of the Nestia chatbot agent, including methods for conversing with the chatbot, accessing prompt histories, and managing event listeners.Removal of Deprecated Class:
NestiaChatAgent
class and its associated structures and methods, as they have been replaced by the newNestiaAgent
class.These changes collectively enhance the maintainability and functionality of the
packages/agent
module.