feat: add agent search config and system assistant defaults

Adds a config jsonb column to agents for per-agent search settings
(enabled, rerank, maxResults). Types systemAssistants with rename and
rerank sub-objects. Backfills missing systemAssistants keys on settings
fetch. Includes generated drizzle migrations.
This commit is contained in:
Zoe
2026-04-27 12:05:27 -05:00
parent 1ed2bd8b16
commit 90d5698e76
10 changed files with 5565 additions and 19 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const useUserSettings = async () => {
});
const effectiveSystemAssistants = computed(() => {
return localSystemAssistants.value || {};
return localSystemAssistants.value || {} as SystemAssistants;
});
const colorSchemeValue = computed(() => {