feat: implement hotel staff chat model configuration API and update localization files

This commit is contained in:
duanshuwen
2026-04-21 19:39:36 +08:00
parent 413e566430
commit 488d420e06
11 changed files with 153 additions and 672 deletions

View File

@@ -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 || {}),
});

View File

@@ -16,4 +16,4 @@ export * from './recentConversation';
export * from './conversationMessageList';
export * from './recommendedQuestionList';
export * from './chatConfig';
export * from './modelConfig';
export * from './chat';

View File

@@ -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;
};