MCPcopy
hub / github.com/srcbookdev/srcbook / aiFixDiagnostics

Function aiFixDiagnostics

packages/web/src/components/cells/code.tsx:263–273  ·  view source on GitHub ↗
(diagnostics: string)

Source from the content-addressed store, hash-verified

261 };
262
263 const aiFixDiagnostics = (diagnostics: string) => {
264 if (!channel) {
265 return;
266 }
267 setCellMode('fixing');
268 setGenerationType('fix');
269 channel.push('ai:fix_diagnostics', {
270 cellId: cell.id,
271 diagnostics,
272 });
273 };
274
275 function runCell() {
276 if (!channel) {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected