Skip to content

Commit a49fad5

Browse files
gagikaddaleax
andauthored
Apply suggestions from code review
Co-authored-by: Anna Henningsen <github@addaleax.net>
1 parent ce72c96 commit a49fad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transports/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { Client } from "@mongodb-js/atlas-local";
2222
import { VectorSearchEmbeddingsManager } from "../common/search/vectorSearchEmbeddingsManager.js";
2323
import type { ToolBase, ToolConstructorParams } from "../tools/tool.js";
2424

25-
type CreateSessionConfigFn = (userConfig: UserConfig) => Promise<UserConfig>;
25+
type CreateSessionConfigFn = (userConfig: UserConfig) => Promise<UserConfig> | UserConfig;
2626

2727
export type TransportRunnerConfig = {
2828
userConfig: UserConfig;

0 commit comments

Comments
 (0)