File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import { Sandbox } from "../config/Sandbox";
33import { ProviderModels } from "@/components/config/provider-models" ;
44import { ReasoningEffortSelector } from "../config/ReasoningEffortSelector" ;
55import type { MediaAttachment } from "@/types/chat" ;
6+ import { Button } from "../ui/button" ;
7+ import { useNavigate } from "react-router-dom" ;
68
79interface ChatComposeProps {
810 inputValue : string ;
@@ -19,6 +21,7 @@ export function ChatCompose({
1921 onStopStreaming,
2022 isBusy,
2123} : ChatComposeProps ) {
24+ const navigate = useNavigate ( ) ;
2225 return (
2326 < div className = "border-t bg-background px-2" >
2427 < ChatInput
@@ -29,10 +32,13 @@ export function ChatCompose({
2932 disabled = { isBusy }
3033 isLoading = { isBusy }
3134 />
32- < div className = "flex flex-wrap items-center" >
33- < Sandbox />
34- < ProviderModels />
35- < ReasoningEffortSelector />
35+ < div className = "flex flex-wrap items-center justify-between" >
36+ < span >
37+ < Sandbox />
38+ < ProviderModels />
39+ < ReasoningEffortSelector />
40+ </ span >
41+ < Button onClick = { ( ) => navigate ( "/review" ) } > Review</ Button >
3642 </ div >
3743 </ div >
3844 ) ;
You can’t perform that action at this time.
0 commit comments