@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
11 lines • 575 B
TypeScript
import type React from 'react';
/**
* Displays an error in the chat queue with special handling for cancellation errors.
*
* @param error - The error to display
* @param keyPrefix - Prefix for the React component key
* @param addToChatQueue - Callback to add error message to chat
* @param getNextComponentKey - Function to generate unique React keys
*/
export declare const displayError: (error: unknown, keyPrefix: string, addToChatQueue: (component: React.ReactNode) => void, getNextComponentKey: () => number) => void;
//# sourceMappingURL=message-helpers.d.ts.map