Skip to content

Commit f81ddcf

Browse files
committed
minor: update promptl
1 parent 5f55227 commit f81ddcf

File tree

8 files changed

+21
-15
lines changed

8 files changed

+21
-15
lines changed

apps/gateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"drizzle-orm": "^0.33.0",
3232
"hono": "^4.6.6",
3333
"lodash-es": "^4.17.21",
34-
"promptl-ai": "^0.5.1",
34+
"promptl-ai": "^0.5.2",
3535
"rate-limiter-flexible": "^5.0.3",
3636
"zod": "^3.23.8"
3737
},

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"oslo": "1.2.0",
5757
"pdfjs-dist": "^4.9.155",
5858
"posthog-js": "^1.161.6",
59-
"promptl-ai": "^0.5.1",
59+
"promptl-ai": "^0.5.2",
6060
"rate-limiter-flexible": "^5.0.3",
6161
"react": "19.0.0-rc-5d19e1c8-20240923",
6262
"react-dom": "19.0.0-rc-5d19e1c8-20240923",

docs/guides/sdk/typescript.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ const { messages } = await sdk.prompts.renderChain({
145145
})
146146
```
147147

148+
<Note>
149+
When using the `renderAgent` method, make sure to provide the `config.tools`
150+
parameter to the LLM provider in your `onStep` implementation, otherwise the
151+
AI will not be able to stop the Agent loop!
152+
</Note>
153+
148154
If your prompt contains tools, you can also provide callbacks for each tool with the `tools` argument, and they will be automatically called when the LLM invokes them.
149155

150156
```typescript

packages/constants/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@latitude-data/compiler": "workspace:^",
25-
"promptl-ai": "^0.5.1",
25+
"promptl-ai": "^0.5.2",
2626
"json-schema": "^0.4.0",
2727
"zod": "^3.23.8"
2828
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"diff-match-patch": "^1.0.5",
166166
"js-yaml": "^4.1.0",
167167
"mustache": "^4.2.0",
168-
"promptl-ai": "^0.5.1",
168+
"promptl-ai": "^0.5.2",
169169
"safe-regex": "^2.1.1"
170170
}
171171
}

packages/sdks/typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@latitude-data/sdk",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Latitude SDK for Typescript",
55
"author": "Latitude Data SL <hello@latitude.so>",
66
"license": "LGPL-3.0",
@@ -46,7 +46,7 @@
4646
"@t3-oss/env-core": "^0.10.1",
4747
"eventsource-parser": "^2.0.1",
4848
"node-fetch": "3.3.2",
49-
"promptl-ai": "^0.5.1",
49+
"promptl-ai": "^0.5.2",
5050
"zod": "^3.23.8"
5151
},
5252
"devDependencies": {

packages/web-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"lucide-react": "^0.468.0",
7272
"monaco-editor": "^0.50.0",
7373
"postcss": "^8.4.39",
74-
"promptl-ai": "^0.5.1",
74+
"promptl-ai": "^0.5.2",
7575
"react": "18.3.0",
7676
"react-dom": "18.3.0",
7777
"react-resizable": "^3.0.5",

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)