@agenite/llm
Advanced tools
+6
-0
| # @agenite/llm | ||
| ## 0.3.0 | ||
| ### Minor Changes | ||
| - e2077e2: add reasoning support | ||
| ## 0.2.2 | ||
@@ -4,0 +10,0 @@ |
+16
-2
| /** | ||
| * Content block types for rich message content | ||
| */ | ||
| type ContentBlock = TextBlock | ImageBlock | ToolUseBlock | ToolResultBlock; | ||
| type ContentBlock = TextBlock | ImageBlock | ToolUseBlock | ToolResultBlock | ReasoningBlock; | ||
| interface ReasoningBlock { | ||
| type: 'reasoning'; | ||
| reasoning: string; | ||
| [key: string]: unknown; | ||
| } | ||
| interface TextBlock { | ||
@@ -74,5 +79,14 @@ type: 'text'; | ||
| text: string; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| } | { | ||
| type: 'reasoning'; | ||
| reasoning: string; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| } | { | ||
| type: 'toolUse'; | ||
| toolUse: ToolUseBlock; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| }; | ||
@@ -144,2 +158,2 @@ /** | ||
| export { type BaseLLMConfig, BaseLLMProvider, type BaseMessage, type ContentBlock, type GenerateOptions, type GenerateResponse, type ImageBlock, type IterateGenerateOptions, type LLMProvider, type PartialReturn, type Role, type StopReason, type TextBlock, type TokenUsage, type ToolDefinition, type ToolResultBlock, type ToolSchema, type ToolUseBlock, convertStringToMessages, iterateFromMethods }; | ||
| export { type BaseLLMConfig, BaseLLMProvider, type BaseMessage, type ContentBlock, type GenerateOptions, type GenerateResponse, type ImageBlock, type IterateGenerateOptions, type LLMProvider, type PartialReturn, type ReasoningBlock, type Role, type StopReason, type TextBlock, type TokenUsage, type ToolDefinition, type ToolResultBlock, type ToolSchema, type ToolUseBlock, convertStringToMessages, iterateFromMethods }; |
+16
-2
| /** | ||
| * Content block types for rich message content | ||
| */ | ||
| type ContentBlock = TextBlock | ImageBlock | ToolUseBlock | ToolResultBlock; | ||
| type ContentBlock = TextBlock | ImageBlock | ToolUseBlock | ToolResultBlock | ReasoningBlock; | ||
| interface ReasoningBlock { | ||
| type: 'reasoning'; | ||
| reasoning: string; | ||
| [key: string]: unknown; | ||
| } | ||
| interface TextBlock { | ||
@@ -74,5 +79,14 @@ type: 'text'; | ||
| text: string; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| } | { | ||
| type: 'reasoning'; | ||
| reasoning: string; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| } | { | ||
| type: 'toolUse'; | ||
| toolUse: ToolUseBlock; | ||
| isStart?: boolean; | ||
| isEnd?: boolean; | ||
| }; | ||
@@ -144,2 +158,2 @@ /** | ||
| export { type BaseLLMConfig, BaseLLMProvider, type BaseMessage, type ContentBlock, type GenerateOptions, type GenerateResponse, type ImageBlock, type IterateGenerateOptions, type LLMProvider, type PartialReturn, type Role, type StopReason, type TextBlock, type TokenUsage, type ToolDefinition, type ToolResultBlock, type ToolSchema, type ToolUseBlock, convertStringToMessages, iterateFromMethods }; | ||
| export { type BaseLLMConfig, BaseLLMProvider, type BaseMessage, type ContentBlock, type GenerateOptions, type GenerateResponse, type ImageBlock, type IterateGenerateOptions, type LLMProvider, type PartialReturn, type ReasoningBlock, type Role, type StopReason, type TextBlock, type TokenUsage, type ToolDefinition, type ToolResultBlock, type ToolSchema, type ToolUseBlock, convertStringToMessages, iterateFromMethods }; |
+3
-3
| { | ||
| "name": "@agenite/llm", | ||
| "version": "0.2.2", | ||
| "version": "0.3.0", | ||
| "description": "LLM interface for Agenite", | ||
@@ -18,6 +18,6 @@ "private": false, | ||
| "devDependencies": { | ||
| "@types/node": "^20.17.17", | ||
| "@types/node": "^20.17.19", | ||
| "tsup": "^8.3.6", | ||
| "typescript": "^5.7.3", | ||
| "@repo/eslint-config": "0.0.3", | ||
| "@repo/eslint-config": "0.0.4", | ||
| "@repo/tsup-config": "0.0.3", | ||
@@ -24,0 +24,0 @@ "@repo/typescript-config": "0.0.1" |
19050
3.89%215
6.97%