Refactor: rename /chat_channels to /chat-channels (#16099)

This commit is contained in:
Wang Qi
2026-06-16 19:15:43 +08:00
committed by GitHub
parent 15f50e5cb2
commit 8067e97f0d
2 changed files with 10 additions and 10 deletions

View File

@@ -97,11 +97,11 @@ export default {
boxWebAuthResult: () => `${restAPIv1}/connectors/box/oauth/web/result`,
// chat channel
chatChannelSet: `${restAPIv1}/chat_channels`,
chatChannelList: `${restAPIv1}/chat_channels`,
chatChannelDetail: (id: string) => `${restAPIv1}/chat_channels/${id}`,
chatChannelUpdate: (id: string) => `${restAPIv1}/chat_channels/${id}`,
chatChannelDel: (id: string) => `${restAPIv1}/chat_channels/${id}`,
chatChannelSet: `${restAPIv1}/chat-channels`,
chatChannelList: `${restAPIv1}/chat-channels`,
chatChannelDetail: (id: string) => `${restAPIv1}/chat-channels/${id}`,
chatChannelUpdate: (id: string) => `${restAPIv1}/chat-channels/${id}`,
chatChannelDel: (id: string) => `${restAPIv1}/chat-channels/${id}`,
// plugin
llmTools: `${restAPIv1}/plugin/tools`,