MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / handleChangeValue

Function handleChangeValue

frontend/src/components/playgroundModel/index.tsx:145–151  ·  view source on GitHub ↗
(value: any, index: number)

Source from the content-addressed store, hash-verified

143 setOpen(false)
144 }
145 const handleChangeValue = (value: any, index: number) => {
146 setContentList((prev) => {
147 prev[index].content = value
148 localStorage.setItem('modelContentList', JSON.stringify([...prev]))
149 return [...prev]
150 })
151 }
152 const combineObject = (arr: any[]) => {
153 let generateData = { role: '', content: '' }
154 let hasError = false;

Callers 1

PlaygroundModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected