mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
31 lines
724 B
TypeScript
31 lines
724 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zGetTrialModelsResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Get hosted trial model provider configuration for model-provider pages
|
|
*
|
|
* Get hosted trial model provider configuration
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
description: 'Get hosted trial model provider configuration',
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getTrialModels',
|
|
path: '/trial-models',
|
|
summary: 'Get hosted trial model provider configuration for model-provider pages',
|
|
tags: ['console'],
|
|
})
|
|
.output(zGetTrialModelsResponse)
|
|
|
|
export const trialModels = {
|
|
get,
|
|
}
|
|
|
|
export const contract = {
|
|
trialModels,
|
|
}
|