feat: OpenClaw supports configuring model Max Tokens (#13818)

This commit is contained in:
CityFun
2026-09-15 18:36:24 +08:00
committed by GitHub
parent 89bd32b6d4
commit 6b20ff0b13
18 changed files with 359 additions and 14 deletions
+9
View File
@@ -426,12 +426,21 @@ export namespace AI {
accountId: number;
model: string;
fallbacks: string[];
metadata: AgentModelMetadata[];
}
export interface AgentModelConfig {
accountId: number;
model: string;
fallbacks: string[];
metadata: AgentModelMetadata[];
}
export interface AgentModelMetadata {
model: string;
inputMode: 'auto' | 'text' | 'image';
contextWindow: number;
maxTokens: number;
}
export interface AgentHermesChatSessionItem {