File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ export default function CopilotKitPage() {
140140 } ,
141141 } ) ;
142142
143- // Modern JS does respect insertion order of JS objects, so we can show the keys in a sensible order in the JSON preview
144143 const getStatePreviewJSON = ( s : AgentState | undefined ) : Record < string , unknown > => {
145144 const snapshot = ( s ?? initialState ) as AgentState ;
146145 const { globalTitle, globalDescription, items } = snapshot ;
@@ -151,18 +150,7 @@ export default function CopilotKitPage() {
151150 } ;
152151 } ;
153152
154- /* useCoAgentStateRender<AgentState>({
155- name: "sample_agent",
156- render: ({ state }) => {
157- return (
158- <pre className="whitespace-pre-wrap text-xs text-violet-600 font-mono w-full overflow-hidden">
159- {JSON.stringify(getStatePreviewJSON(viewState), null, 2)}
160- </pre>
161- );
162- },
163- }); */
164153
165- // Removed chat hook render; we'll display plan tracker inline in the sidebar header below
166154
167155 // Strengthen grounding: always prefer shared state over chat history
168156 useCopilotAdditionalInstructions ( {
You can’t perform that action at this time.
0 commit comments