@olostep/ai-sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,13 +24,13 @@ Get an API key at [olostep.com/auth](https://olostep.com/auth) and set it as `OL
24
24
  ## Usage
25
25
 
26
26
  ```ts
27
- import { generateText, isStepCount } from 'ai';
27
+ import { generateText, stepCountIs } from 'ai';
28
28
  import { olostepTools } from '@olostep/ai-sdk';
29
29
 
30
30
  const { text } = await generateText({
31
31
  model: 'openai/gpt-5-mini',
32
32
  tools: olostepTools(),
33
- stopWhen: isStepCount(5),
33
+ stopWhen: stepCountIs(5),
34
34
  prompt: 'Read the Next.js 15 release notes and list the breaking changes, with sources.',
35
35
  });
36
36
 
@@ -78,7 +78,7 @@ olostepTools({
78
78
 
79
79
  Page content goes to the model, so large jobs return their pages a set at a time. If a job is still running when the wait ends, the tool returns its `id` with `status` set to `in_progress`. If more pages are available, the result includes `nextCursor`. Pass the `id` and `nextCursor` to `olostepResults` to get the next pages, until you have every page.
80
80
 
81
- New accounts are limited to 100 URLs per batch: contact info@olostep.com to lift this.
81
+ Batches go up to 100k URLs. New accounts start at 100 URLs per batch, and info@olostep.com can lift this.
82
82
 
83
83
  ## Examples
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olostep/ai-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Olostep tools for the Vercel AI SDK. Live web search, scraping and crawling API for AI. Get structured, LLM-ready data from any site. Scale to 1M requests with 10 parallel batches at low cost.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",