Skip to content

Commit

Permalink
chore: import as tye
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed May 4, 2024
1 parent 02cbd02 commit 949853d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/core/src/modules/configs/configs.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
} from 'class-validator'
import { JSONSchema } from 'class-validator-jsonschema'

import { ChatModel } from 'openai/resources'
import { IsAllowedUrl } from '~/decorators/dto/isAllowedUrl'

import { OpenAiSupportedModels } from '../ai/ai.constants'
Expand All @@ -28,6 +27,7 @@ import {
JSONSchemaToggleField,
halfFieldOption,
} from './configs.jsonschema.decorator'
import type { ChatModel } from 'openai/resources'

const SecretField = (target: Object, propertyKey: string | symbol) => {
Encrypt(target, propertyKey)
Expand Down

0 comments on commit 949853d

Please sign in to comment.