UNPKG

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

7 lines (4 loc) 280 B
import { ResponseHandler, ParseResult } from '@ai-sdk/provider-utils'; import { ZodSchema } from 'zod'; declare const createJsonStreamResponseHandler: <T>(chunkSchema: ZodSchema<T>) => ResponseHandler<ReadableStream<ParseResult<T>>>; export { createJsonStreamResponseHandler };