Skip to content

Commit

Permalink
fixes type export
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarsh-scottlogic committed Mar 27, 2024
1 parent a70205b commit c51a48d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/src/models/api/OpenAiSetModelRequest.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Request } from 'express';

import { CHAT_MODELS, ChatModelConfiguration } from '@src/models/chat';
import { CHAT_MODELS, ChatModelConfigurations } from '@src/models/chat';

export type OpenAiSetModelRequest = Request<
never,
never,
{
model?: CHAT_MODELS;
configuration?: ChatModelConfiguration;
configuration?: ChatModelConfigurations;
},
never
>;
2 changes: 1 addition & 1 deletion backend/src/models/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export type {
ChatGptReply,
ChatMalicious,
ChatModel,
ChatModelConfigurations as ChatModelConfiguration,
ChatModelConfigurations,
ChatResponse,
LevelHandlerResponse,
ChatHttpResponse,
Expand Down

0 comments on commit c51a48d

Please sign in to comment.