Fix agent workspace settings loading forever (#4956)

remove .brief from SystemSettings.agent_sql_connections
This commit is contained in:
Sean Hatfield 2026-02-02 12:26:53 -08:00 committed by GitHub
parent 2c513ae396
commit 866e9efbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -442,8 +442,7 @@ function adminEndpoints(app) {
agent_search_provider:
(await SystemSettings.get({ label: "agent_search_provider" }))
?.value || null,
agent_sql_connections:
await SystemSettings.brief.agent_sql_connections(),
agent_sql_connections: await SystemSettings.agent_sql_connections(),
default_agent_skills:
safeJsonParse(
(await SystemSettings.get({ label: "default_agent_skills" }))