mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 18:27:22 +00:00
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 [input, setInput] = useState("")
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
fetch("http://localhost:16713/event")
|
||||
.then(stream => {
|
||||
|
|
|
@ -132,6 +132,9 @@ export const edit = Tool.define({
|
|||
}
|
||||
|
||||
return {
|
||||
metadata: {
|
||||
diagnostics,
|
||||
},
|
||||
output,
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue