Skip to content

Commit af50b17

Browse files
committed
docs(release): correct the Discord allowlist note, Mistral image naming, and the NO_PROXY reference
1 parent c7a4966 commit af50b17

6 files changed

Lines changed: 11 additions & 8 deletions

File tree

‎apps/docs/content/docs/integrations/mistral_parse.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Parse PDF documents using Mistral OCR API
6565
| ↳ `pages_processed` | number | Total number of pages processed |
6666
| ↳ `doc_size_bytes` | number | Document file size in bytes |
6767
| `document_annotation` | string | Structured annotation data as JSON string \(when applicable\) |
68-
| `images` | file[] | Images extracted from the document, named page-<index>-<image id>; empty unless image extraction is on |
68+
| `images` | file[] | Images extracted from the document, named page-<index>-<image id> with the extension of the detected image type; empty unless image extraction is on |
6969

7070
</ReferenceDetails>
7171

‎apps/docs/content/docs/platform/self-hosting/networking.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Most `/api` requests also pass through Next.js Proxy. The current app configurat
265265
266266
The app makes outbound calls to model providers, integration APIs, your email provider, object storage, and your telemetry backend. Whether `HTTP_PROXY` / `HTTPS_PROXY` apply depends on which of those paths a call takes — there is no single answer, and no global setting that covers all of them.
267267
268-
The server runs on Bun, and Bun's native `fetch` honors `$HTTP_PROXY`, `$HTTPS_PROXY`, and `$NO_PROXY`. Sim installs no global dispatcher. Default `fetch` uses the configured proxy unless `NO_PROXY` excludes the destination. The SSRF guard reads the same three variables for every request it sends, matching `NO_PROXY` the way curl does (see [Internal destinations and `NO_PROXY`](#internal-destinations-and-no_proxy)). The rest either build their own HTTP agent or speak a non-HTTP protocol.
268+
The server runs on Bun, and Bun's native `fetch` honors `$HTTP_PROXY`, `$HTTPS_PROXY`, and `$NO_PROXY`. Sim installs no global dispatcher. Default `fetch` uses the configured proxy unless `NO_PROXY` excludes the destination. The SSRF guard reads the same three variables for every request it sends, matching `NO_PROXY` with the rules in [Internal destinations and `NO_PROXY`](#internal-destinations-and-no_proxy). The rest either build their own HTTP agent or speak a non-HTTP protocol.
269269
270270
This depends on the runtime. The published images run Bun. If you build the standalone output and run it under Node instead, Node ignores these variables unless started with `NODE_USE_ENV_PROXY=1` (Node 22.21+ / 24.5+), and the `fetch`-based "Yes" rows stop being proxied — model providers, Resend, Gmail sending, the desktop update feed, and the telemetry relay. The Azure Blob, GCS and Azure Communication Services rows still hold: those SDKs read the proxy variables through their own agents rather than through `fetch`. See [Bun fetch](https://bun.sh/docs/runtime/networking/fetch) and [Node proxy configuration](https://nodejs.org/learn/http/enterprise-network-configuration).
271271

‎apps/sim/lib/internal/mistral/operations.test.ts‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,16 @@ describe('Mistral ingestion authorization', () => {
256256
)
257257

258258
it('returns extracted images as files, never as base64 in the output', async () => {
259-
const png = Buffer.concat([Buffer.from([0xff, 0xd8, 0xff]), Buffer.from('synthetic jpeg body')])
259+
const jpeg = Buffer.concat([
260+
Buffer.from([0xff, 0xd8, 0xff]),
261+
Buffer.from('synthetic jpeg body'),
262+
])
260263
submit.mockResolvedValue({
261264
pages: [
262265
{
263266
index: 0,
264267
images: [
265-
{ id: 'img-0.png', image_base64: `data:image/png;base64,${png.toString('base64')}` },
268+
{ id: 'img-0.png', image_base64: `data:image/png;base64,${jpeg.toString('base64')}` },
266269
],
267270
},
268271
],
@@ -275,7 +278,7 @@ describe('Mistral ingestion authorization', () => {
275278
expect(isInternalToolFileResult(result)).toBe(true)
276279
if (!isInternalToolFileResult(result)) return
277280
expect(result.files).toHaveLength(1)
278-
expect(JSON.stringify(result.present([]))).not.toContain(png.toString('base64'))
281+
expect(JSON.stringify(result.present([]))).not.toContain(jpeg.toString('base64'))
279282
})
280283

281284
it('does not request images for tool versions that have no image output', async () => {

‎apps/sim/scripts/saved-credential-contract.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const DESTINATION_PARAM =
3838
const OPERATION_PAYLOAD_PARAMS: Readonly<Record<string, readonly string[]>> = {
3939
// The page the remote browser opens; the token goes to api.browser-use.com.
4040
browser_use_run_task: ['startUrl'],
41-
// A guild id in the discord.com API path.
41+
// A guild id the operation never sends; it posts only to the channel's discord.com endpoint.
4242
discord_send_message: ['serverId'],
4343
// The audio Fireflies downloads; the token goes to api.fireflies.ai.
4444
fireflies_upload_audio: ['audioUrl'],

‎apps/sim/tools/generated/tool-outputs.ts‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎apps/sim/tools/mistral/parser.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ export const mistralParserV3Tool: InternalToolConfig<MistralParserV2Input, Mistr
524524
images: {
525525
type: 'file[]',
526526
description:
527-
'Images extracted from the document, named page-<index>-<image id>; empty unless image extraction is on',
527+
'Images extracted from the document, named page-<index>-<image id> with the extension of the detected image type; empty unless image extraction is on',
528528
},
529529
},
530530
params: {

0 commit comments

Comments
 (0)