fix syntax for initializing AuthStorage in docs (#1539)
This commit is contained in:
@@ -385,7 +385,7 @@ import { AuthStorage, createAgentSession, ModelRegistry, SessionManager } from "
|
|||||||
|
|
||||||
const { session } = await createAgentSession({
|
const { session } = await createAgentSession({
|
||||||
sessionManager: SessionManager.inMemory(),
|
sessionManager: SessionManager.inMemory(),
|
||||||
authStorage: new AuthStorage(),
|
authStorage: AuthStorage.create(),
|
||||||
modelRegistry: new ModelRegistry(authStorage),
|
modelRegistry: new ModelRegistry(authStorage),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user