mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 20:34:28 +00:00
feat: remove all ai transcription related code and schema
This commit is contained in:
+1
-1
@@ -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({
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user