René's URL Explorer Experiment


Title: fix(knowledge): infer MIME type from file extension in create/upsert tools by waleedlatif1 · Pull Request #3651 · simstudioai/sim · GitHub

Open Graph Title: fix(knowledge): infer MIME type from file extension in create/upsert tools by waleedlatif1 · Pull Request #3651 · simstudioai/sim

X Title: fix(knowledge): infer MIME type from file extension in create/upsert tools by waleedlatif1 · Pull Request #3651 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(knowledge): infer MIME type from file extension in create/upsert tools by waleedlatif1 · Pull Request #3651 · simstudioai/sim

Open Graph Description: Summary Both create_document and upsert_document tools previously forced .txt extension and text/plain MIME type regardless of the document name Now infers the correct MIME type from the file exte...

X Description: Summary Both create_document and upsert_document tools previously forced .txt extension and text/plain MIME type regardless of the document name Now infers the correct MIME type from the file exte...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:cb12992e-f6b6-e413-932f-1d49e69c1df4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDB8:37E613:1148F0F:17D6A05:6AFB6E59
html-safe-nonceeeedd0e0d2163734fded5a94496a974808c73463e18a361e3dbf992e22328059
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI4OjM3RTYxMzoxMTQ4RjBGOjE3RDZBMDU6NkFGQjZFNTkiLCJ2aXNpdG9yX2lkIjoiMjQ4MjUzMjgyMDE5NTE3NjAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdd36642325a9e2e09b9e659eec5178000719339f413aff3958acf71f91b69f2f
hovercard-subject-tagpull_request:3414187492
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/3651/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/832808a6509045fde07eaf088146fddd678236c83d669fc62b0db56d9b429e77/simstudioai/sim/pull/3651
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/832808a6509045fde07eaf088146fddd678236c83d669fc62b0db56d9b429e77/simstudioai/sim/pull/3651
og:image:altSummary Both create_document and upsert_document tools previously forced .txt extension and text/plain MIME type regardless of the document name Now infers the correct MIME type from the file exte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3651#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3651
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%2F3651
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/3651
Reloadhttps://github.com/simstudioai/sim/pull/3651
Reloadhttps://github.com/simstudioai/sim/pull/3651
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/kb-mime-type-fixhttps://github.com/simstudioai/sim/tree/waleedlatif1/kb-mime-type-fix
Conversationhttps://github.com/simstudioai/sim/pull/3651
Commits6 (6)https://github.com/simstudioai/sim/pull/3651/commits
Checkshttps://github.com/simstudioai/sim/pull/3651/checks
Files changedhttps://github.com/simstudioai/sim/pull/3651/files
fix(knowledge): infer MIME type from file extension in create/upsert toolshttps://github.com/simstudioai/sim/pull/3651#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/kb-mime-type-fixhttps://github.com/simstudioai/sim/tree/waleedlatif1/kb-mime-type-fix
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issue-4094318415
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
fix(knowledge): infer MIME type from file extension in create/upsert …https://github.com/simstudioai/sim/pull/3651/commits/daeaea6059dfeedde365bbc77f8afdffa188acde
daeaea6https://github.com/simstudioai/sim/pull/3651/commits/daeaea6059dfeedde365bbc77f8afdffa188acde
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081540900
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081541115
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/BYESRTAxwbSRn2Rqkpzkc31N7dTD
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=3651
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
refactor(knowledge): reuse existing getMimeTypeFromExtension from upl…https://github.com/simstudioai/sim/pull/3651/commits/6c6ba817ef02f106078fec16b36663876193fa4d
6c6ba81https://github.com/simstudioai/sim/pull/3651/commits/6c6ba817ef02f106078fec16b36663876193fa4d
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-dnlundo6r-sim-studio.vercel.app
March 18, 2026 10:56https://github.com/simstudioai/sim/pull/3651#event-23677447523
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081554385
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
"fix(knowledge): hand..."https://github.com/simstudioai/sim/commit/e20ff52f3ad621da9caa5f8e5f02876acd2259ea
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 18, 2026 https://github.com/simstudioai/sim/pull/3651#pullrequestreview-3966853674
View reviewed changes https://github.com/simstudioai/sim/pull/3651/files/6c6ba817ef02f106078fec16b36663876193fa4d
apps/sim/tools/knowledge/types.tshttps://github.com/simstudioai/sim/pull/3651/files/6c6ba817ef02f106078fec16b36663876193fa4d#diff-2c8295bf5f5578884ce4af8e81bb0e41de3a957766db62a774bcd2395c886357
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
fix(knowledge): fix btoa stack overflow and duplicate encoding in cre…https://github.com/simstudioai/sim/pull/3651/commits/0e169360378c945c714c49706623daf03249af1b
0e16936https://github.com/simstudioai/sim/pull/3651/commits/0e169360378c945c714c49706623daf03249af1b
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-93irlbuss-sim-studio.vercel.app
March 18, 2026 11:01https://github.com/simstudioai/sim/pull/3651#event-23677571863
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081577729
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 18, 2026 https://github.com/simstudioai/sim/pull/3651#pullrequestreview-3966893908
View reviewed changes https://github.com/simstudioai/sim/pull/3651/files/0e169360378c945c714c49706623daf03249af1b
apps/sim/tools/knowledge/types.tshttps://github.com/simstudioai/sim/pull/3651/files/0e169360378c945c714c49706623daf03249af1b#diff-2c8295bf5f5578884ce4af8e81bb0e41de3a957766db62a774bcd2395c886357
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
fix(knowledge): allowlist text-compatible MIME types in inferDocument…https://github.com/simstudioai/sim/pull/3651/commits/fa9f344f31419bac17aa36142ac0a3ca525d20f7
fa9f344https://github.com/simstudioai/sim/pull/3651/commits/fa9f344f31419bac17aa36142ac0a3ca525d20f7
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-mszp164w4-sim-studio.vercel.app
March 18, 2026 11:17https://github.com/simstudioai/sim/pull/3651#event-23678073997
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081676212
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 18, 2026 https://github.com/simstudioai/sim/pull/3651#pullrequestreview-3967002582
View reviewed changes https://github.com/simstudioai/sim/pull/3651/files/fa9f344f31419bac17aa36142ac0a3ca525d20f7
apps/sim/tools/knowledge/types.tshttps://github.com/simstudioai/sim/pull/3651/files/fa9f344f31419bac17aa36142ac0a3ca525d20f7#diff-2c8295bf5f5578884ce4af8e81bb0e41de3a957766db62a774bcd2395c886357
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
apps/sim/tools/knowledge/types.tshttps://github.com/simstudioai/sim/pull/3651/files/fa9f344f31419bac17aa36142ac0a3ca525d20f7#diff-2c8295bf5f5578884ce4af8e81bb0e41de3a957766db62a774bcd2395c886357
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
fix(knowledge): remove pdf/rtf from allowlist, normalize unrecognized…https://github.com/simstudioai/sim/pull/3651/commits/3be8294561336360bf0a453c7725105cdcd93c0b
3be8294https://github.com/simstudioai/sim/pull/3651/commits/3be8294561336360bf0a453c7725105cdcd93c0b
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-adq7ft7mj-sim-studio.vercel.app
March 18, 2026 11:30https://github.com/simstudioai/sim/pull/3651#event-23678471193
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081778388
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Mar 18, 2026 https://github.com/simstudioai/sim/pull/3651#pullrequestreview-3967099774
View reviewed changes https://github.com/simstudioai/sim/pull/3651/files/3be8294561336360bf0a453c7725105cdcd93c0b
apps/sim/tools/knowledge/types.tshttps://github.com/simstudioai/sim/pull/3651/files/3be8294561336360bf0a453c7725105cdcd93c0b#diff-2c8295bf5f5578884ce4af8e81bb0e41de3a957766db62a774bcd2395c886357
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
https://github.com/claude
fix(knowledge): handle dotfile names to avoid empty base in filenamehttps://github.com/simstudioai/sim/pull/3651/commits/e20ff52f3ad621da9caa5f8e5f02876acd2259ea
e20ff52https://github.com/simstudioai/sim/pull/3651/commits/e20ff52f3ad621da9caa5f8e5f02876acd2259ea
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-k7zesm8cp-sim-studio.vercel.app
March 18, 2026 11:53https://github.com/simstudioai/sim/pull/3651#event-23679193731
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#issuecomment-4081951276
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
ff5d90ehttps://github.com/simstudioai/sim/commit/ff5d90e0c0f235169da57837eb10d205aa0974c3
Mar 18, 2026https://github.com/simstudioai/sim/pull/3651#event-23691365024
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
March 18, 2026 17:49https://github.com/simstudioai/sim/pull/3651#event-23691366783
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Mar 18, 2026 https://github.com/simstudioai/sim/pull/3651#ref-pullrequest-4096753299
v0.6.3: hubspot integration, kb block improvements #3654 https://github.com/simstudioai/sim/pull/3654
Deployedhttps://docs-k7zesm8cp-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-k7zesm8cp-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3651
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/3651/files/3be8294561336360bf0a453c7725105cdcd93c0b
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
Please reload this pagehttps://github.com/simstudioai/sim/pull/3651
https://github.com/waleedlatif1
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.