refactor(voice-call): drop unused config type aliases · openclaw/openclaw@fb06df6
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
File tree
extensions/voice-call/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -193,7 +193,6 @@ const CallModeSchema = z.enum(["notify", "conversation"]);
|
193 | 193 | export type CallMode = z.infer<typeof CallModeSchema>; |
194 | 194 | |
195 | 195 | const VoiceCallSessionScopeSchema = z.enum(["per-phone", "per-call"]); |
196 | | -export type VoiceCallSessionScope = z.infer<typeof VoiceCallSessionScopeSchema>; |
197 | 196 | |
198 | 197 | const OutboundConfigSchema = z |
199 | 198 | .object({ |
@@ -281,9 +280,6 @@ const VoiceCallRealtimeAgentContextConfigSchema = z
|
281 | 280 | includeWorkspaceFiles: true, |
282 | 281 | files: ["SOUL.md", "IDENTITY.md", "USER.md"], |
283 | 282 | }); |
284 | | -export type VoiceCallRealtimeAgentContextConfig = z.infer< |
285 | | -typeof VoiceCallRealtimeAgentContextConfigSchema |
286 | | ->; |
287 | 283 | |
288 | 284 | export const VoiceCallRealtimeConsultThinkingLevelSchema = z.enum([ |
289 | 285 | "off", |
@@ -295,9 +291,6 @@ export const VoiceCallRealtimeConsultThinkingLevelSchema = z.enum([
|
295 | 291 | "adaptive", |
296 | 292 | "max", |
297 | 293 | ]); |
298 | | -export type VoiceCallRealtimeConsultThinkingLevel = z.infer< |
299 | | -typeof VoiceCallRealtimeConsultThinkingLevelSchema |
300 | | ->; |
301 | 294 | |
302 | 295 | const VoiceCallStreamingProvidersConfigSchema = z |
303 | 296 | .record(z.string(), z.record(z.string(), z.unknown())) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。