惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
博客园 - 聂微东
爱范儿
爱范儿
罗磊的独立博客
P
Proofpoint News Feed
博客园 - Franky
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
美团技术团队
MongoDB | Blog
MongoDB | Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
I
InfoQ
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
TTS: remove persona rewrite placeholder · openclaw/opencl...
barronlroth · 2026-04-26 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -19189,32 +19189,6 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {

1918919189

description:

1919019190

"Provider-neutral persona prompt intent. Providers decide whether and how to map this into request instructions.",

1919119191

},

19192-

rewrite: {

19193-

type: "object",

19194-

properties: {

19195-

enabled: {

19196-

type: "boolean",

19197-

},

19198-

model: {

19199-

type: "string",

19200-

},

19201-

preserveMeaning: {

19202-

type: "boolean",

19203-

},

19204-

compressForSpeech: {

19205-

type: "boolean",

19206-

},

19207-

inCharacter: {

19208-

type: "boolean",

19209-

},

19210-

maxChars: {

19211-

type: "integer",

19212-

minimum: 1,

19213-

maximum: 9007199254740991,

19214-

},

19215-

},

19216-

additionalProperties: false,

19217-

},

1921819192

providers: {

1921919193

type: "object",

1922019194

propertyNames: {

Original file line numberDiff line numberDiff line change

@@ -37,23 +37,13 @@ export type TtsPersonaPromptConfig = {

3737

constraints?: string[];

3838

};

3939
40-

export type TtsPersonaRewriteConfig = {

41-

enabled?: boolean;

42-

model?: string;

43-

preserveMeaning?: boolean;

44-

compressForSpeech?: boolean;

45-

inCharacter?: boolean;

46-

maxChars?: number;

47-

};

48-
4940

export type TtsPersonaConfig = {

5041

label?: string;

5142

description?: string;

5243

/** Preferred provider for this persona. Explicit provider prefs still win. */

5344

provider?: TtsProvider;

5445

fallbackPolicy?: TtsPersonaFallbackPolicy;

5546

prompt?: TtsPersonaPromptConfig;

56-

rewrite?: TtsPersonaRewriteConfig;

5747

/** Provider-specific persona bindings keyed by speech provider id. */

5848

providers?: TtsProviderConfigMap;

5949

};

Original file line numberDiff line numberDiff line change

@@ -508,16 +508,6 @@ const TtsPersonaPromptSchema = z

508508

constraints: z.array(z.string()).optional(),

509509

})

510510

.strict();

511-

const TtsPersonaRewriteSchema = z

512-

.object({

513-

enabled: z.boolean().optional(),

514-

model: z.string().optional(),

515-

preserveMeaning: z.boolean().optional(),

516-

compressForSpeech: z.boolean().optional(),

517-

inCharacter: z.boolean().optional(),

518-

maxChars: z.number().int().min(1).optional(),

519-

})

520-

.strict();

521511

const TtsPersonaSchema = z

522512

.object({

523513

label: z.string().optional(),

@@ -527,7 +517,6 @@ const TtsPersonaSchema = z

527517

.union([z.literal("preserve-persona"), z.literal("provider-defaults"), z.literal("fail")])

528518

.optional(),

529519

prompt: TtsPersonaPromptSchema.optional(),

530-

rewrite: TtsPersonaRewriteSchema.optional(),

531520

providers: z.record(z.string(), TtsProviderConfigSchema).optional(),

532521

})

533522

.strict();

Original file line numberDiff line numberDiff line change

@@ -59,12 +59,6 @@ describe("TtsConfigSchema openai speed and instructions", () => {

5959

pacing: "Measured.",

6060

constraints: ["Do not read configuration values aloud."],

6161

},

62-

rewrite: {

63-

enabled: false,

64-

preserveMeaning: true,

65-

compressForSpeech: true,

66-

maxChars: 1500,

67-

},

6862

providers: {

6963

google: {

7064

model: "gemini-3.1-flash-tts-preview",

@@ -82,4 +76,18 @@ describe("TtsConfigSchema openai speed and instructions", () => {

8276

}),

8377

).not.toThrow();

8478

});

79+
80+

it("rejects persona rewrite config until runtime behavior exists", () => {

81+

expect(() =>

82+

TtsConfigSchema.parse({

83+

personas: {

84+

alfred: {

85+

["rewrite"]: {

86+

enabled: true,

87+

},

88+

},

89+

},

90+

}),

91+

).toThrow();

92+

});

8593

});

Original file line numberDiff line numberDiff line change

@@ -141,7 +141,6 @@ export type {

141141

TtsPersonaConfig,

142142

TtsPersonaFallbackPolicy,

143143

TtsPersonaPromptConfig,

144-

TtsPersonaRewriteConfig,

145144

TtsProvider,

146145

} from "../config/types.js";

147146

export {