| import type { LanguageModel } from "ai"; | ||
| import type { Store } from "./store"; | ||
| import type { Mode } from "../types"; | ||
| import { type RunLLMOptions } from "./llm"; | ||
| export declare function createClient({ provider, store, mode, }: { | ||
| provider: LanguageModel; | ||
| store?: Store; | ||
| mode?: Mode; | ||
| }): { | ||
| run: (opts: Omit<RunLLMOptions, "provider" | "sessionStore" | "mode">) => Promise<{ | ||
| text: string; | ||
| session: import("./session").Session; | ||
| }>; | ||
| }; |
+1
-0
@@ -5,1 +5,2 @@ export { runLLM } from "./utils/llm"; | ||
| export { createMode, agentMode, chatMode } from "./utils/mode"; | ||
| export { createClient } from "./utils/client"; |
@@ -5,1 +5,2 @@ export { runLLM } from "../utils/llm"; | ||
| export { createMode, agentMode, chatMode } from "../utils/mode"; | ||
| export { createClient } from "../utils/client"; |
+1
-1
| { | ||
| "name": "@ridit/ai", | ||
| "version": "0.1.4", | ||
| "version": "0.1.5", | ||
| "description": "Your agents, in minutes.", | ||
@@ -5,0 +5,0 @@ "author": "Ridit Jangra <riditjangra09@gmail.com> (https://ridit.space)", |
Sorry, the diff of this file is too big to display
3582988
0.02%55
1.85%103115
0.03%