refactor(session): route construction through Session.create
This commit is contained in:
@@ -24,7 +24,7 @@ function stubAgent(ctx: Context, rawId: string): Agent {
|
||||
const agent: Agent = {
|
||||
id,
|
||||
options: {},
|
||||
session: new Session(id),
|
||||
session: Session.create(id),
|
||||
status: 'idle',
|
||||
acceptsNextStep: false,
|
||||
ctx: scopeFiber.ctx,
|
||||
|
||||
Reference in New Issue
Block a user