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

Commit3faa0b4

Browse files
committed
site: remove chat-related changes for separate PR
1 parent10b534c commit3faa0b4

File tree

13 files changed

+0
-3436
lines changed

13 files changed

+0
-3436
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",
@@ -114,7 +111,6 @@
114111
"react-virtualized-auto-sizer":"1.0.24",
115112
"react-window":"1.8.11",
116113
"recharts":"2.15.0",
117-
"rehype-raw":"7.0.0",
118114
"remark-gfm":"4.0.0",
119115
"resize-observer-polyfill":"1.5.1",
120116
"rollup-plugin-visualizer":"5.14.0",

‎site/pnpm-lock.yaml

Lines changed: 0 additions & 238 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
@@ -154,14 +154,6 @@ const NavItems: FC<NavItemsProps> = ({ className }) => {
154154
>
155155
Templates
156156
</NavLink>
157-
<NavLink
158-
className={({ isActive})=>{
159-
returncn(linkStyles.default,isActive ?linkStyles.active :"");
160-
}}
161-
to="/chat"
162-
>
163-
Chat
164-
</NavLink>
165157
</nav>
166158
);
167159
};

‎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