mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 01:41:36 +00:00
feat: embed pi agent runtime
This commit is contained in:
@@ -61,13 +61,13 @@ export async function getStatusSummary(): Promise<StatusSummary> {
|
||||
const providerSummary = await buildProviderSummary(cfg);
|
||||
const queuedSystemEvents = peekSystemEvents();
|
||||
|
||||
const configModel = cfg.inbound?.reply?.agent?.model ?? DEFAULT_MODEL;
|
||||
const configModel = cfg.inbound?.agent?.model ?? DEFAULT_MODEL;
|
||||
const configContextTokens =
|
||||
cfg.inbound?.reply?.agent?.contextTokens ??
|
||||
cfg.inbound?.agent?.contextTokens ??
|
||||
lookupContextTokens(configModel) ??
|
||||
DEFAULT_CONTEXT_TOKENS;
|
||||
|
||||
const storePath = resolveStorePath(cfg.inbound?.reply?.session?.store);
|
||||
const storePath = resolveStorePath(cfg.inbound?.session?.store);
|
||||
const store = loadSessionStore(storePath);
|
||||
const now = Date.now();
|
||||
const sessions = Object.entries(store)
|
||||
|
||||
Reference in New Issue
Block a user