Skip to content

Commit fbc0620

Browse files
committed
feat: offer krill, the free SERPdive model
SERPdive serves three models; this integration listed two, so the free one was not selectable. `krill` is free and unlimited under fair use — no card, no credits — and returns a smaller set of the same sentences, one request at a time, at low priority, with no written answer. Added to the existing selector and its description. `mako` remains the default, so existing flows are unchanged.
1 parent 6ca6f9d commit fbc0620

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

apps/docs/content/docs/en/integrations/serpdive.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Search the web with SERPdive. Each result carries the extracted, answer-ready co
4343
| Parameter | Type | Required | Description |
4444
| --------- | ---- | -------- | ----------- |
4545
| `query` | string | Yes | The search query, phrased as a question or topic, in any language \(e.g., "what changed in the latest Next.js release"\). Maximum 300 characters. |
46-
| `model` | string | No | Retrieval depth: mako \(1 credit\) returns the fact-carrying sentences of each source, moby \(1.5 credits\) returns the full readable content of every page \(e.g., "mako"\) |
47-
| `answer` | boolean | No | Also return a written answer built from the sources: concise on mako, detailed with citations on moby. No extra credits. |
46+
| `model` | string | No | Retrieval depth: mako \(1 credit\) returns the fact-carrying sentences of each source, krill \(free, unlimited under fair use\) returns a smaller set of them at low priority, moby \(1.5 credits\) returns the full readable content of every page \(e.g., "mako"\) |
47+
| `answer` | boolean | No | Also return a written answer built from the sources: concise on mako, detailed with citations on moby; not available on krill. No extra credits. |
4848
| `max_results` | number | No | Hard cap on delivered results, keeping the best-ranked ones \(1-10, e.g., 5\). Omit to get everything relevant. |
4949
| `apiKey` | string | Yes | SERPdive API Key |
5050

@@ -60,7 +60,7 @@ Search the web with SERPdive. Each result carries the extracted, answer-ready co
6060
|`date` | string | Publication date when known, ISO YYYY-MM-DD |
6161
| `answer` | string | Written answer built from the sources \(if requested\) |
6262
| `extra_info` | object | Structured direct-answer block \(weather, exchange rates, live scores...\) when the query has one |
63-
| `model` | string | The retrieval model that answered: mako or moby |
63+
| `model` | string | The retrieval model that answered: mako, krill or moby |
6464
| `response_time_ms` | number | Time taken for the search request in milliseconds |
6565

6666

apps/sim/blocks/blocks/serpdive.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const SerpdiveBlock: BlockConfig<SerpdiveSearchResponse> = {
2929
type: 'dropdown',
3030
options: [
3131
{ label: 'Mako (fast, key sentences)', id: 'mako' },
32+
{ label: 'Krill (free, unlimited)', id: 'krill' },
3233
{ label: 'Moby (full page content)', id: 'moby' },
3334
],
3435
value: () => 'mako',
@@ -63,7 +64,7 @@ export const SerpdiveBlock: BlockConfig<SerpdiveSearchResponse> = {
6364
inputs: {
6465
query: { type: 'string', description: 'Search query' },
6566
apiKey: { type: 'string', description: 'SERPdive API key' },
66-
model: { type: 'string', description: 'Retrieval depth: mako or moby' },
67+
model: { type: 'string', description: 'Retrieval depth: mako, krill or moby' },
6768
answer: { type: 'boolean', description: 'Also return a written answer built from the sources' },
6869
max_results: { type: 'number', description: 'Hard cap on delivered results (1-10)' },
6970
},

apps/sim/tools/serpdive/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const searchTool: ToolConfig<SerpdiveSearchParams, SerpdiveSearchResponse
2222
required: false,
2323
visibility: 'user-or-llm',
2424
description:
25-
'Retrieval depth: mako (1 credit) returns the fact-carrying sentences of each source, moby (1.5 credits) returns the full readable content of every page (e.g., "mako")',
25+
'Retrieval depth: mako (1 credit) returns the fact-carrying sentences of each source, krill (free, unlimited under fair use) returns a smaller set of them at low priority, moby (1.5 credits) returns the full readable content of every page (e.g., "mako")',
2626
},
2727
answer: {
2828
type: 'boolean',

0 commit comments

Comments
 (0)