@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
8 lines • 364 B
TypeScript
/**
* Detects if an error indicates the model doesn't support tool calling
*
* This is used to automatically retry requests without tools when a model
* rejects tool definitions (common with some local models like deepseek-r1 via Ollama)
*/
export declare function isToolSupportError(error: unknown): boolean;
//# sourceMappingURL=tool-error-detector.d.ts.map