René's URL Explorer Experiment


Title: feat(mistral): extract PDF images as files and expose table format in Mistral Parser by waleedlatif1 · Pull Request #9856 · simstudioai/sim · GitHub

Open Graph Title: feat(mistral): extract PDF images as files and expose table format in Mistral Parser by waleedlatif1 · Pull Request #9856 · simstudioai/sim

X Title: feat(mistral): extract PDF images as files and expose table format in Mistral Parser by waleedlatif1 · Pull Request #9856 · simstudioai/sim

Description: Summary Mistral Parser (v3) gets an Extract Images switch: images Mistral OCR finds in the PDF (figures, logos, photos) come back as stored files on a new images (file[]) output, so an agent can pick the ones it wants and pass them on Image bytes never travel through block outputs: each page image keeps its bounding box and gets a file_name matching its stored file, and image_base64 is stripped Caps: at most 100 images per parse (image_limit is clamped), a 20 MB per-image cap (bigger images are skipped, not failed), and the shared 100 MB buffered-transfer budget across all images New Tables option passes Mistral's table_format (markdown / html), so pages[].tables is populated instead of always empty; default stays inline Advanced Max Images / Min Image Size fields, validated with the shared parseOptionalNumberInput Only mistral_parser_v3 extracts images; v1/v2 never request them, and the knowledge-base OCR path (executeMistralParse) is unchanged Type of Change New feature Testing New lib/internal/mistral/images.test.ts and 4 new cases in operations.test.ts: base64 stripped and files named, 100-image cap, oversized image skipped, image_limit clamp (above cap / unset / zero), v3-only gate. Each guard was reverted and its test went red bunx vitest run lib/internal/mistral tools/mistral blocks — 851 passed check-block-registry.ts origin/staging, check:canvas-sentences, check:integration-catalog, check:docs; regenerated tool metadata and integration docs lint:check + type-check via the pre-push hook; full check:audits and bun run test left to CI Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Mistral Parser (v3) gets an Extract Images switch: images Mistral OCR finds in the PDF (figures, logos, photos) come back as stored files on a new images (file[]) output, so an agent can p...

X Description: Summary Mistral Parser (v3) gets an Extract Images switch: images Mistral OCR finds in the PDF (figures, logos, photos) come back as stored files on a new images (file[]) output, so an agent can p...

Opengraph URL: https://github.com/simstudioai/sim/pull/9856

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fa0d5e54-56d1-07d6-0abc-6010fee3a71d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE25C:1BC3DC:D3B861:12A95AE:6AFB640B
html-safe-nonce904b34a56d6ee39f62235b4ea8bd9373d914cc11144f25c19ee494e20e7b4e5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjVDOjFCQzNEQzpEM0I4NjE6MTJBOTVBRTo2QUZCNjQwQiIsInZpc2l0b3JfaWQiOiI2MjA5NTkzODEyNDM3ODIxNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac317b292f67d5c3226094bfa1036906ad6d57549bcfdcc5f6bdf2d651b3cb6fc4
hovercard-subject-tagpull_request:5249552509
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9856/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Mistral Parser (v3) gets an Extract Images switch: images Mistral OCR finds in the PDF (figures, logos, photos) come back as stored files on a new images (file[]) output, so an agent can p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9856/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9856%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9856%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9856/files
Reloadhttps://github.com/simstudioai/sim/pull/9856/files
Reloadhttps://github.com/simstudioai/sim/pull/9856/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/mistral-parser-extract-imageshttps://github.com/simstudioai/sim/tree/feat/mistral-parser-extract-images
Conversation 28 https://github.com/simstudioai/sim/pull/9856
Commits 4 https://github.com/simstudioai/sim/pull/9856/commits
Checks 83 https://github.com/simstudioai/sim/pull/9856/checks
Files changed https://github.com/simstudioai/sim/pull/9856/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
feat(mistral): extract PDF images as files and expose table format in Mistral Parser https://github.com/simstudioai/sim/pull/9856/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/9856/files
58bdd83 feat(mistral): extract PDF images as files and expose table format in… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9856/commits/58bdd831b4a394c717b43a3c02bb351e7ea4a136
82d4147 fix(mistral): type the v3 images output as optional for the shared v2… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9856/commits/82d41478e6adf77a8b937d1714a50017ca5f1414
0f67286 fix(mistral): name extracted images as storage does, drop inline tabl… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9856/commits/0f67286c87e7aff2ad62f5df80c1c55c90534c11
e8cf711 docs(mistral): describe Extract Images and Tables options in the Mist… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9856/commits/e8cf711ac97a9881356321c5dd24bcc057e6a851
Clear filters https://github.com/simstudioai/sim/pull/9856/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
mistral_parse.mdx https://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
mistral_parse.ts https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
execute-tool.ts https://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
images.test.ts https://github.com/simstudioai/sim/pull/9856/files#diff-4875461aa0434f8f7d0625d9e76152856c664c3cccf844180993de62408ea709
images.ts https://github.com/simstudioai/sim/pull/9856/files#diff-ef447946bcb40dce670cf21f0267df9c52f92581de31388347698190125ff937
input.ts https://github.com/simstudioai/sim/pull/9856/files#diff-7ef8fb416b3e5114baa11bc8f94d09c82fa139264b42f66e0574dc19f55b22fa
operations.test.ts https://github.com/simstudioai/sim/pull/9856/files#diff-c1dea6f6586adc32cd172b016bebc8f44292e591d002df3fb242b4b63a1ede03
operations.ts https://github.com/simstudioai/sim/pull/9856/files#diff-ab126b98d30f882fbc8cae08303b90d4bd9977e14b7fd3423b328577eb7e58f7
tool-metadata.ts https://github.com/simstudioai/sim/pull/9856/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
tool-outputs.ts https://github.com/simstudioai/sim/pull/9856/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
parser.ts https://github.com/simstudioai/sim/pull/9856/files#diff-cc9a669c10968d83639e823a80a7463877e4cc3a2b92dbf18102f7ef4ae4a411
types.ts https://github.com/simstudioai/sim/pull/9856/files#diff-94dccee9176b1969851148ced651867a51a33daee37ce8d55a96ea2142d1a095
integrations.json https://github.com/simstudioai/sim/pull/9856/files#diff-3c0cdbab0250ae3bd5869a2c3ce5c3f4f548d896e4fbbbc82a01ffc0f588a8cc
check-unused-exports.baseline.json https://github.com/simstudioai/sim/pull/9856/files#diff-4b59a8526a4f226dffb0fbf6b8ec25d3082ab45da697f584eaaca4bd483c928f
apps/docs/content/docs/integrations/mistral_parse.mdxhttps://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/docs/content/docs/integrations/mistral_parse.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
https://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
https://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
https://github.com/simstudioai/sim/pull/9856/files#diff-707e12bbb61ff31ae15542a10016b1c00f4c584c74f4175670282cb355b0fb5f
apps/sim/blocks/blocks/mistral_parse.tshttps://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/sim/blocks/blocks/mistral_parse.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
https://github.com/simstudioai/sim/pull/9856/files#diff-9aae6d1c2c17cc410f8e3e9e710e645c771aa65bd6f1f02692c1c9f89eb5079d
apps/sim/lib/internal/mistral/execute-tool.tshttps://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/sim/lib/internal/mistral/execute-tool.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
https://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
https://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
https://github.com/simstudioai/sim/pull/9856/files#diff-e79feaeb391cc77b38e16ab9f9e0eb006a326a26e4b0a1cc3e41f25b6c7666fb
apps/sim/lib/internal/mistral/images.test.tshttps://github.com/simstudioai/sim/pull/9856/files#diff-4875461aa0434f8f7d0625d9e76152856c664c3cccf844180993de62408ea709
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/sim/lib/internal/mistral/images.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
apps/sim/lib/internal/mistral/images.tshttps://github.com/simstudioai/sim/pull/9856/files#diff-ef447946bcb40dce670cf21f0267df9c52f92581de31388347698190125ff937
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/sim/lib/internal/mistral/images.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
apps/sim/lib/internal/mistral/input.tshttps://github.com/simstudioai/sim/pull/9856/files#diff-7ef8fb416b3e5114baa11bc8f94d09c82fa139264b42f66e0574dc19f55b22fa
View file https://github.com/simstudioai/sim/blob/e8cf711ac97a9881356321c5dd24bcc057e6a851/apps/sim/lib/internal/mistral/input.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9856/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9856/files#diff-7ef8fb416b3e5114baa11bc8f94d09c82fa139264b42f66e0574dc19f55b22fa
https://github.com/simstudioai/sim/pull/9856/files#diff-7ef8fb416b3e5114baa11bc8f94d09c82fa139264b42f66e0574dc19f55b22fa
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9856/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.