From 5d9a13de7e4aa3530078b8fafe996dcae5318a7a Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 5 Jun 2024 18:37:04 +0200 Subject: [PATCH] make sure to export `FunctionMessage` --- package-lock.json | 4 ++-- package.json | 2 +- src/base/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b980f7..63c9896 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vscode/prompt-tsx", - "version": "0.1.13-alpha", + "version": "0.1.14-alpha", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vscode/prompt-tsx", - "version": "0.1.13-alpha", + "version": "0.1.14-alpha", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@microsoft/tiktokenizer": "^1.0.6" diff --git a/package.json b/package.json index e753aac..c17aca7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vscode/prompt-tsx", - "version": "0.1.13-alpha", + "version": "0.1.14-alpha", "description": "Declare LLM prompts with TSX", "main": "./dist/base/index.js", "types": "./dist/base/index.d.ts", diff --git a/src/base/index.ts b/src/base/index.ts index 7cbc005..4726e83 100644 --- a/src/base/index.ts +++ b/src/base/index.ts @@ -16,7 +16,7 @@ export { Cl100KBaseTokenizer, ITokenizer } from './tokenizer/tokenizer'; export * from './tsx-globals'; export * from './types'; -export { AssistantMessage, PrioritizedList, PrioritizedListProps, SystemMessage, TextChunk, UserMessage } from './promptElements'; +export { AssistantMessage, FunctionMessage, PrioritizedList, PrioritizedListProps, SystemMessage, TextChunk, UserMessage } from './promptElements'; export { PromptElement } from './promptElement'; export { MetadataMap, PromptRenderer, QueueItem, RenderPromptResult } from './promptRenderer';