feat: remove all ai transcription related code and schema

This commit is contained in:
yiling
2026-05-28 14:23:02 +08:00
parent 721a9c13d7
commit 5173bb2a01
25 changed files with 38 additions and 281 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { z } from 'zod'
export const agentTypeSchema = z.enum(['chat', 'autofill', 'embedding', 'transcription'])
export const agentTypeSchema = z.enum(['chat', 'autofill', 'embedding'])
export type AgentType = z.infer<typeof agentTypeSchema>
export const agentSkillSchema = z.object({
-1
View File
@@ -11,7 +11,6 @@ export const aiProviderSettingsSchema = z.object({
apiKey: z.string().optional(),
baseUrl: z.string().optional(),
chatModels: z.array(z.string()).optional(),
transcribeModels: z.array(z.string()).optional(),
})
export type AiProviderSettings = z.infer<typeof aiProviderSettingsSchema>