fix regex newchat

This commit is contained in:
Jeff Carr 2025-08-29 13:23:04 -05:00
parent 700a868a3a
commit 148201b5c5
1 changed files with 2 additions and 2 deletions

View File

@ -162,8 +162,8 @@ export async function main() {
// Create a new chat on startup.
try {
const topic = execFileSync('/home/jcarr/go/bin/regex', ['--get-next-auto-topic'], { encoding: 'utf8' });
execFileSync('/home/jcarr/go/bin/regex', ['--new-chat', sessionId, topic.trim()]);
// const topic = execFileSync('/home/jcarr/go/bin/regex', ['--get-next-auto-topic'], { encoding: 'utf8' });
execFileSync('/home/jcarr/go/bin/regex', ['--uuid', sessionId, '--topic', 'blah', 'newchat']);
} catch (e) {
console.error(`Error creating new chat: ${e}`);
}