(diagnostics: string)
| 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) { |