mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +00:00
fix syntax for initializing AuthStorage in docs (#1539)
This commit is contained in:
parent
e9d0074fa6
commit
40a8706bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue