mirror of
https://github.com/langgenius/dify.git
synced 2026-06-14 12:51:07 +08:00
24 lines
642 B
TypeScript
24 lines
642 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* AdvancedPromptTemplateResponse
|
|
*/
|
|
export const zAdvancedPromptTemplateResponse = z.object({
|
|
chat_prompt_config: z.record(z.string(), z.unknown()).nullish(),
|
|
completion_prompt_config: z.record(z.string(), z.unknown()).nullish(),
|
|
})
|
|
|
|
export const zGetAppPromptTemplatesQuery = z.object({
|
|
app_mode: z.string(),
|
|
has_context: z.string().optional().default('true'),
|
|
model_mode: z.string(),
|
|
model_name: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Prompt templates retrieved successfully
|
|
*/
|
|
export const zGetAppPromptTemplatesResponse = zAdvancedPromptTemplateResponse
|