mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
fix syntax for initializing AuthStorage in docs (#1539)
This commit is contained in:
committed by
GitHub
Unverified
parent
e9d0074fa6
commit
40a8706bb9
@@ -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),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user