add diagnostics meta
This commit is contained in:
parent
e01afb407c
commit
59d43fa5da
2 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ function App() {
|
||||||
const [state, setState] = useState(initial)
|
const [state, setState] = useState(initial)
|
||||||
const [input, setInput] = useState("")
|
const [input, setInput] = useState("")
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch("http://localhost:16713/event")
|
fetch("http://localhost:16713/event")
|
||||||
.then(stream => {
|
.then(stream => {
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,9 @@ export const edit = Tool.define({
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
metadata: {
|
||||||
|
diagnostics,
|
||||||
|
},
|
||||||
output,
|
output,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue