UNPKG

rawi

Version:

Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into

16 lines (13 loc) 716 B
import { deepseek } from '@ai-sdk/deepseek'; import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.js'; type LooseDeepSeekModelId = Parameters<typeof deepseek>[0]; type DeepSeekModelId = LooseToStrict<LooseDeepSeekModelId>; declare const deepSeekModelIds: readonly ["deepseek-chat", "deepseek-reasoner"]; declare const deepSeekModels: ModelInfo[]; declare const deepSeekProvider: { name: "deepseek"; displayName: string; models: ModelInfo[]; }; declare const streamWithDeepSeek: (credentials: RawiCredentials, prompt: string) => Promise<StreamingResponse>; export { type DeepSeekModelId, deepSeekModelIds, deepSeekModels, deepSeekProvider, streamWithDeepSeek };