Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: improve error handle with agent config (#9263)

Arvin Xu66562170ac6e
diff --git a/.github/workflows/sync-database-schema.yml b/.github/workflows/sync-database-schema.yml
index 2217cc773c2..69d938d65ce 100644
--- a/.github/workflows/sync-database-schema.yml
+++ b/.github/workflows/sync-database-schema.yml
@@ -13,8 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v5
- - name: Install dbdocs
- run: sudo npm install -g dbdocs
+ - name: Install bun
+ uses: oven-sh/setup-bun@v2
+ with:
+ bun-version: ${{ secrets.BUN_VERSION }}
+
+ - name: Install deps
+ run: bun i
- name: Check dbdocs
run: dbdocs
diff --git a/src/services/session/server.ts b/src/services/session/server.ts
index 82659369e42..8a26fb6c2b6 100644
--- a/src/services/session/server.ts
+++ b/src/services/session/server.ts
@@ -56,7 +56,13 @@ export class ServerService implements ISessionService {
};
updateSessionConfig: ISessionService['updateSessionConfig'] = (id, config, signal) => {
- return lambdaClient.session.updateSessionConfig.mutate({ id, value: config }, { signal });
+ return lambdaClient.session.updateSessionConfig.mutate(
+ { id, value: config },
+ {
+ context: { showNotification: false },
+ signal,
+ },
+ );
};
updateSessionMeta: ISessionService['updateSessionMeta'] = (id, meta, signal) => {