File tree Expand file tree Collapse file tree
fast-api-react/frontend/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88.App {
99 width : 100% ;
1010 max-width : 390px ;
11- height : 100 vh ;
11+ height : 60 vh ;
1212 display : flex;
1313 flex-direction : column;
1414}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "./App.css";
44interface Messages {
55 role : "user" | "assistant" ;
66 content : string ;
7- hatchetRunId ?: string ;
7+ messageId ?: string ;
88}
99
1010const API_URL = "http://localhost:8000" ;
@@ -93,14 +93,14 @@ function App() {
9393 return (
9494 < div className = "App" >
9595 < div className = "Messages" >
96- { messages . map ( ( { role, content, hatchetRunId } , i ) => (
96+ { messages . map ( ( { role, content, messageId } , i ) => (
9797 < p key = { i } >
9898 < b > { role === "assistant" ? "Agent" : "You" } </ b > : { content }
99- { hatchetRunId && (
99+ { messageId && (
100100 < a
101101 target = "_blank"
102102 rel = "noreferrer"
103- href = { `https ://app.dev.hatchet-tools.com /workflow-runs/${ hatchetRunId } ?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52` }
103+ href = { `http ://localhost:8080 /workflow-runs/${ messageId } ?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52` }
104104 >
105105 🪓
106106 </ a >
@@ -112,7 +112,7 @@ function App() {
112112 < a
113113 target = "_blank"
114114 rel = "noreferrer"
115- href = { `https ://app.dev.hatchet-tools.com /workflow-runs/${ openRequest } ?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52` }
115+ href = { `http ://localhost:8080 /workflow-runs/${ openRequest } ?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52` }
116116 >
117117 { status }
118118 </ a >
You can’t perform that action at this time.
0 commit comments