Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d24eed

Browse files
committed
site: remove chat-related changes for separate PR
1 parent7648bef commit7d24eed

File tree

13 files changed

+0
-3442
lines changed

13 files changed

+0
-3442
lines changed

‎site/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
"update-emojis":"cp -rf ./node_modules/emoji-datasource-apple/img/apple/64/* ./static/emojis"
3636
},
3737
"dependencies": {
38-
"@ai-sdk/provider-utils":"2.2.6",
39-
"@ai-sdk/react":"1.2.6",
40-
"@ai-sdk/ui-utils":"1.2.7",
4138
"@emoji-mart/data":"1.2.1",
4239
"@emoji-mart/react":"1.1.1",
4340
"@emotion/cache":"11.14.0",
@@ -118,7 +115,6 @@
118115
"react-virtualized-auto-sizer":"1.0.24",
119116
"react-window":"1.8.11",
120117
"recharts":"2.15.0",
121-
"rehype-raw":"7.0.0",
122118
"remark-gfm":"4.0.0",
123119
"resize-observer-polyfill":"1.5.1",
124120
"rollup-plugin-visualizer":"5.14.0",

‎site/pnpm-lock.yaml

Lines changed: 0 additions & 244 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/api/api.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -827,13 +827,6 @@ class ApiMethods {
827827
returnresponse.data;
828828
};
829829

830-
getDeploymentLLMs=async():Promise<TypesGen.LanguageModelConfig>=>{
831-
constresponse=awaitthis.axios.get<TypesGen.LanguageModelConfig>(
832-
"/api/v2/deployment/llms",
833-
);
834-
returnresponse.data;
835-
};
836-
837830
getOrganizationIdpSyncClaimFieldValues=async(
838831
organization:string,
839832
field:string,
@@ -2496,23 +2489,6 @@ class ApiMethods {
24962489
markAllInboxNotificationsAsRead=async()=>{
24972490
awaitthis.axios.put<void>("/api/v2/notifications/inbox/mark-all-as-read");
24982491
};
2499-
2500-
createChat=async()=>{
2501-
constres=awaitthis.axios.post<TypesGen.Chat>("/api/v2/chats");
2502-
returnres.data;
2503-
};
2504-
2505-
getChats=async()=>{
2506-
constres=awaitthis.axios.get<TypesGen.Chat[]>("/api/v2/chats");
2507-
returnres.data;
2508-
};
2509-
2510-
getChatMessages=async(chatId:string)=>{
2511-
constres=awaitthis.axios.get<TypesGen.ChatMessage[]>(
2512-
`/api/v2/chats/${chatId}/messages`,
2513-
);
2514-
returnres.data;
2515-
};
25162492
}
25172493

25182494
// This is a hard coded CSRF token/cookie pair for local development. In prod,

‎site/src/api/queries/chats.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎site/src/api/queries/deployment.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,3 @@ export const deploymentIdpSyncFieldValues = (field: string) => {
3636
queryFn:()=>API.getDeploymentIdpSyncFieldValues(field),
3737
};
3838
};
39-
40-
exportconstdeploymentLanguageModels=()=>{
41-
return{
42-
queryKey:["deployment","llms"],
43-
queryFn:API.getDeploymentLLMs,
44-
};
45-
};

‎site/src/modules/dashboard/Navbar/NavbarView.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,6 @@ const NavItems: FC<NavItemsProps> = ({ className }) => {
157157
>
158158
Templates
159159
</NavLink>
160-
<NavLink
161-
className={({ isActive})=>{
162-
returncn(linkStyles.default,isActive ?linkStyles.active :"");
163-
}}
164-
to="/chat"
165-
>
166-
Chat
167-
</NavLink>
168160
</nav>
169161
);
170162
};

‎site/src/pages/ChatPage/ChatLanding.tsx

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp