Anthropic: reduce access

This commit is contained in:
Enrico Ros
2023-09-22 01:25:55 -07:00
parent 6f92a2ec2c
commit da751c06ca
@@ -17,7 +17,7 @@ const anthropicAccessSchema = z.object({
anthropicHost: z.string().trim(),
});
export const chatGenerateSchema = z.object({ access: anthropicAccessSchema, model: modelSchema, history: historySchema });
const chatGenerateSchema = z.object({ access: anthropicAccessSchema, model: modelSchema, history: historySchema });
const listModelsSchema = z.object({ access: anthropicAccessSchema });