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

fix
This commit is contained in:
Arvin Xu 2025-09-15 11:23:13 +08:00 committed by GitHub
parent ed42753fe5
commit 66562170ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 3 deletions

View file

@ -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

View file

@ -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) => {