mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 15:21:10 +00:00
Add bundled pi default and session token reporting
This commit is contained in:
@@ -82,6 +82,8 @@ export type WarelayConfig = {
|
||||
kind: AgentKind;
|
||||
format?: "text" | "json";
|
||||
identityPrefix?: string;
|
||||
model?: string;
|
||||
contextTokens?: number;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -141,6 +143,8 @@ const ReplySchema = z
|
||||
kind: z.literal("pi"),
|
||||
format: z.union([z.literal("text"), z.literal("json")]).optional(),
|
||||
identityPrefix: z.string().optional(),
|
||||
model: z.string().optional(),
|
||||
contextTokens: z.number().int().positive().optional(),
|
||||
})
|
||||
.optional(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user