feat: implement hotel staff chat model configuration API and update localization files
This commit is contained in:
@@ -4,13 +4,13 @@ import request from './request';
|
||||
|
||||
import * as API from './types';
|
||||
|
||||
/** 获取模型配置 获取模型配置 GET /chat/modelConfig */
|
||||
export function chatModelConfigUsingGet({
|
||||
/** 获取模型配置 获取模型配置 GET /hotelStaff/chat/modelConfig */
|
||||
export function hotelStaffChatModelConfigUsingGet({
|
||||
options,
|
||||
}: {
|
||||
options?: { [key: string]: unknown };
|
||||
}) {
|
||||
return request<API.RModelConfigDTO>('/chat/modelConfig', {
|
||||
return request<API.RModelConfigDTO>('/hotelStaff/chat/modelConfig', {
|
||||
method: 'GET',
|
||||
...(options || {}),
|
||||
});
|
||||
@@ -16,4 +16,4 @@ export * from './recentConversation';
|
||||
export * from './conversationMessageList';
|
||||
export * from './recommendedQuestionList';
|
||||
export * from './chatConfig';
|
||||
export * from './modelConfig';
|
||||
export * from './chat';
|
||||
|
||||
@@ -41,10 +41,6 @@ export type ChatConversationMessageListUsingPostResponses = {
|
||||
200: RPageConversationMessageDTO;
|
||||
};
|
||||
|
||||
export type ChatModelConfigUsingGetResponses = {
|
||||
200: RModelConfigDTO;
|
||||
};
|
||||
|
||||
export type ChatRecentConversationUsingGetResponses = {
|
||||
200: RConversationDTO;
|
||||
};
|
||||
@@ -298,6 +294,10 @@ export type EventListSearchForm = {
|
||||
eventStatus?: number;
|
||||
};
|
||||
|
||||
export type HotelStaffChatModelConfigUsingGetResponses = {
|
||||
200: RModelConfigDTO;
|
||||
};
|
||||
|
||||
export type HotelStaffConfigChannelBindingUsingPostResponses = {
|
||||
200: RBoolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user