+1
-0
@@ -58,2 +58,3 @@ import type { LanguageModel, ToolSet } from "ai"; | ||
| sessionStore?: Store; | ||
| maxTokens?: number; | ||
| }; | ||
@@ -60,0 +61,0 @@ export type PermissionDecision = "allow" | "allow_session" | "deny"; |
@@ -10,5 +10,5 @@ import { type Session } from "./session"; | ||
| }; | ||
| export declare function runLLM({ system, tools, session, store, sessionId, memoryContent, prompt, onToolCall, onToolResult, abortSignal, steps, provider, }: RunLLMOptions): Promise<{ | ||
| export declare function runLLM({ system, tools, session, store, sessionId, memoryContent, prompt, onToolCall, onToolResult, abortSignal, steps, provider, maxTokens, }: RunLLMOptions): Promise<{ | ||
| text: string; | ||
| session: Session; | ||
| }>; |
+1
-1
| { | ||
| "name": "@ridit/ai", | ||
| "version": "0.1.85", | ||
| "version": "0.1.86", | ||
| "description": "Your agents, in minutes.", | ||
@@ -5,0 +5,0 @@ "author": "Ridit Jangra <riditjangra09@gmail.com> (https://ridit.space)", |
+1
-1
@@ -249,3 +249,3 @@ # @ridit/ai | ||
| | ---------- | ------------ | ----------------------------- | | ||
| | `provider` | `"anthropic" | "openai" | | ||
| | `provider` | `string` | ✅ | | ||
| | `model` | `string` | ✅ | | ||
@@ -252,0 +252,0 @@ | `apiKey` | `string` | for hosted providers | |
Sorry, the diff of this file is too big to display
3153315
091456
0