fix syntax for initializing AuthStorage in docs (#1539)

This commit is contained in:
Nader Dabit 2026-02-25 15:35:13 -08:00 committed by GitHub
parent e9d0074fa6
commit 40a8706bb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -385,7 +385,7 @@ import { AuthStorage, createAgentSession, ModelRegistry, SessionManager } from "
const { session } = await createAgentSession({
sessionManager: SessionManager.inMemory(),
authStorage: new AuthStorage(),
authStorage: AuthStorage.create(),
modelRegistry: new ModelRegistry(authStorage),
});