fix(jina): removed conditionally included outputs from jina (#2559)

* fix(jina): removed conditionally included outputs from jina

* ack PR comments
This commit is contained in:
Waleed
2025-12-23 15:20:10 -08:00
committed by GitHub
parent bf8fbebe22
commit cdf3d759b9
11 changed files with 2 additions and 27 deletions

View File

@@ -61,8 +61,6 @@ Extrahieren und verarbeiten Sie Webinhalte in sauberen, LLM-freundlichen Text mi
| Parameter | Typ | Beschreibung |
| --------- | ---- | ----------- |
| `content` | string | Der extrahierte Inhalt von der URL, verarbeitet zu sauberem, LLM-freundlichem Text |
| `links` | array | Liste der auf der Seite gefundenen Links (wenn gatherLinks oder withLinksummary aktiviert ist) |
| `images` | array | Liste der auf der Seite gefundenen Bilder (wenn withImagesummary aktiviert ist) |
### `jina_search`

View File

@@ -30,6 +30,7 @@ The Sim Grain integration empowers your agents to:
Whether you want to automate follow-up actions, keep records of important conversations, or surface insights across your organization, Grain and Sim make it easy to connect meeting intelligence to your workflows.
{/* MANUAL-CONTENT-END */}
## Usage Instructions
Integrate Grain into your workflow. Access meeting recordings, transcripts, highlights, and AI-generated summaries. Can also trigger workflows based on Grain webhook events.

View File

@@ -64,8 +64,6 @@ Extract and process web content into clean, LLM-friendly text using Jina AI Read
| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `content` | string | The extracted content from the URL, processed into clean, LLM-friendly text |
| `links` | array | List of links found on the page \(when gatherLinks or withLinksummary is enabled\) |
| `images` | array | List of images found on the page \(when withImagesummary is enabled\) |
### `jina_search`

View File

@@ -52,6 +52,7 @@ Send a chat completion request to any supported LLM provider
| `azureApiVersion` | string | No | Azure OpenAI API version |
| `vertexProject` | string | No | Google Cloud project ID for Vertex AI |
| `vertexLocation` | string | No | Google Cloud location for Vertex AI \(defaults to us-central1\) |
| `vertexCredential` | string | No | Google Cloud OAuth credential ID for Vertex AI |
#### Output

View File

@@ -61,8 +61,6 @@ Extrae y procesa contenido web en texto limpio y compatible con LLM usando Jina
| Parámetro | Tipo | Descripción |
| --------- | ---- | ----------- |
| `content` | string | El contenido extraído de la URL, procesado en texto limpio y compatible con LLM |
| `links` | array | Lista de enlaces encontrados en la página (cuando gatherLinks o withLinksummary está activado) |
| `images` | array | Lista de imágenes encontradas en la página (cuando withImagesummary está activado) |
### `jina_search`

View File

@@ -61,8 +61,6 @@ Extrayez et traitez le contenu web en texte propre et adapté aux LLM avec Jina
| Paramètre | Type | Description |
| --------- | ---- | ----------- |
| `content` | string | Le contenu extrait de l'URL, traité en texte propre et adapté aux LLM |
| `links` | array | Liste des liens trouvés sur la page (lorsque gatherLinks ou withLinksummary est activé) |
| `images` | array | Liste des images trouvées sur la page (lorsque withImagesummary est activé) |
### `jina_search`

View File

@@ -61,8 +61,6 @@ Jina AI Readerを使用してウェブコンテンツを抽出し、LLMフレン
| パラメータ | 型 | 説明 |
| --------- | ---- | ----------- |
| `content` | string | URLから抽出されたコンテンツで、クリーンでLLMフレンドリーなテキストに処理されたもの |
| `links` | array | ページで見つかったリンクのリストgatherLinksまたはwithLinksummaryが有効な場合 |
| `images` | array | ページで見つかった画像のリストwithImagesummaryが有効な場合 |
### `jina_search`

View File

@@ -61,8 +61,6 @@ Jina AI Reader 专注于从网页中提取最相关的内容,去除杂乱、
| 参数 | 类型 | 描述 |
| --------- | ---- | ----------- |
| `content` | 字符串 | 从 URL 提取的内容,处理为干净且适合 LLM 的文本 |
| `links` | 数组 | 页面中找到的链接列表(当启用 gatherLinks 或 withLinksummary 时) |
| `images` | 数组 | 页面中找到的图片列表(当启用 withImagesummary 时) |
### `jina_search`

View File

@@ -185,8 +185,6 @@ export const JinaBlock: BlockConfig<ReadUrlResponse | SearchResponse> = {
outputs: {
// Read URL outputs
content: { type: 'string', description: 'Extracted content' },
links: { type: 'array', description: 'List of links from page' },
images: { type: 'array', description: 'List of images from page' },
// Search outputs
results: {
type: 'array',

View File

@@ -168,8 +168,6 @@ export const readUrlTool: ToolConfig<ReadUrlParams, ReadUrlResponse> = {
success: response.ok,
output: {
content: data.data?.content || data.content || JSON.stringify(data),
links: data.data?.links || undefined,
images: data.data?.images || undefined,
},
}
}
@@ -188,14 +186,5 @@ export const readUrlTool: ToolConfig<ReadUrlParams, ReadUrlResponse> = {
type: 'string',
description: 'The extracted content from the URL, processed into clean, LLM-friendly text',
},
links: {
type: 'array',
description:
'List of links found on the page (when gatherLinks or withLinksummary is enabled)',
},
images: {
type: 'array',
description: 'List of images found on the page (when withImagesummary is enabled)',
},
},
}

View File

@@ -25,8 +25,6 @@ export interface ReadUrlParams {
export interface ReadUrlResponse extends ToolResponse {
output: {
content: string
links?: string[]
images?: string[]
}
}