🔄 Big News! bazed.ai is now sagentic.ai. Same vision, new name!

Skip to content

@sagentic-ai/sagentic-af / SessionOptions

SessionOptions ​

SessionOptions is used to create a new session

Properties ​

budget? ​

ts
optional budget: number;

budget of the session in USD

Source ​

src/session.ts:34


context? ​

ts
optional context: any;

attach your custom object to the session

Source ​

src/session.ts:30


notifyHandler? ​

ts
optional notifyHandler: LoggerFunction;

logger function for FE notifications

Source ​

src/session.ts:36


topic? ​

ts
optional topic: string;

human readable topic of the session

Source ​

src/session.ts:32


traceHandler? ​

ts
optional traceHandler: LoggerFunction;

logger function for internal trace messages

Source ​

src/session.ts:38