Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

Merge pull request #288 from nosliwhtes/feat/rename-chats

Salman Qureshi757e10922f55
diff --cc src/web/api/chat.ts
index 8e521308,2c317089..63b9ed94
--- a/src/web/api/chat.ts
+++ b/src/web/api/chat.ts
@@@ -14,9 -14,9 +14,10 @@@ import type { WebChannel } from '../../
import type { ProgrammingMode, ProgrammingModeState } from '../../core/programming-mode.js';
import { existsSync, readFileSync, writeFileSync, readdirSync, statSync, rmSync } from 'node:fs';
import { join, extname, basename, relative, resolve } from 'node:path';
-import { getMercuryHome, loadConfig, getActiveProviders } from '../../utils/config.js';
+import { getMercuryHome, loadConfig, getActiveProviders, type ProviderConfig } from '../../utils/config.js';
+import { basicAuthHeaders } from '../../providers/basic-auth.js';
import type { SessionRepository } from '../../sessions/index.js';
+ import { SessionTitleError } from '../../sessions/repository.js';
import { loadPermissionMode, savePermissionMode } from '../../capabilities/permission-mode-store.js';
import {
getModelPref, setModelPref, humanizeModelName, modelGroupLabel,