rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
17 lines (14 loc) • 600 B
text/typescript
import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
import * as ai from 'ai';
import { z } from 'zod';
declare const ollamaErrorDataSchema: z.ZodObject<{
error: z.ZodObject<{
code: z.ZodNullable<z.ZodString>;
message: z.ZodString;
param: z.ZodNullable<z.ZodAny>;
type: z.ZodString;
}, z.core.$strip>;
}, z.core.$strip>;
type OllamaErrorData = z.infer<typeof ollamaErrorDataSchema>;
declare const ollamaFailedResponseHandler: _ai_sdk_provider_utils.ResponseHandler<ai.APICallError>;
export { type OllamaErrorData, ollamaFailedResponseHandler };