chore: clean up
This commit is contained in:
parent
662891f5d9
commit
e653516fb1
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ async function processMessage(
|
|||
// Save session after each successful response
|
||||
saveSession(chatHistory);
|
||||
} catch (e: any) {
|
||||
logger.error(`Error: ${formatError(e)}`, e);
|
||||
logger.error(`\n${chalk.red(`Error: ${formatError(e)}`)}`);
|
||||
if (!isHeadless) {
|
||||
logger.info(
|
||||
chalk.dim(`Chat history:\n${JSON.stringify(chatHistory, null, 2)}`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue