gaunt-sloth-assistant
Version:
[](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [ {
const sessionConfig = {
mode: 'chat',
readModePrompt: readChatPrompt,
description: 'Start an interactive chat session with Gaunt Sloth',
readyMessage: '\nGaunt Sloth is ready to chat. Type your prompt.',
exitMessage: "Type 'exit' or hit Ctrl+C to exit chat\n",
};
// Start chat when no command typed
program.action(async () => {
await createInteractiveSession(sessionConfig, commandLineConfigOverrides);
});
// Chat command
program
.command('chat')
.description('Start an interactive chat session with Gaunt Sloth')
.argument('[message]', 'Initial message to start the chat')
.action(async (message) => {
await createInteractiveSession(sessionConfig, commandLineConfigOverrides, message);
});
}
//# sourceMappingURL=chatCommand.js.map