René's URL Explorer Experiment


Title: feat(providers): prompt caching capability + usage-based cache pricing by icecrasher321 · Pull Request #5922 · simstudioai/sim · GitHub

Open Graph Title: feat(providers): prompt caching capability + usage-based cache pricing by icecrasher321 · Pull Request #5922 · simstudioai/sim

X Title: feat(providers): prompt caching capability + usage-based cache pricing by icecrasher321 · Pull Request #5922 · simstudioai/sim

Description: Summary Three things, in dependency order: Streaming tool calls and thinking from agent blocks (original scope) — live tool-call chips and thinking for OpenAI, Anthropic, Azure Anthropic, Google, Vertex, DeepSeek, Groq, and Bedrock. Deployed chat is a pure consumer of the stream, gated behind independent includeThinking / includeToolCalls toggles. One pricing function. priceModelUsage in cost-policy.ts is now the only place cache-aware arithmetic happens. Provider adapters normalize their wire shape into ModelUsage; the pricing function never branches on provider. Prompt caching as a capability. Opt-in advanced switch for Anthropic (cache_control breakpoints), always-on prompt_cache_key for OpenAI, billing correctness only for Gemini. Type of Change New feature Bug fix Testing bun run lint, bun run type-check, bun run check:api-validation:strict, bun run check:migrations origin/staging, and the full suite (1111 files / 14478 tests) all pass locally. New coverage: cross-provider pricing parity (Anthropic's exclusive vs OpenAI's inclusive token shapes must price identically), per-bucket write multipliers, cache_write_tokens parsing and clamping, multi-turn cache accumulation for OpenAI and Gemini, Anthropic breakpoint placement on both the streaming and non-streaming paths, structured-output + caching together, stable/distinct prompt_cache_key, and the two tool-cost invariants. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing 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 Three things, in dependency order: Streaming tool calls and thinking from agent blocks (original scope) — live tool-call chips and thinking for OpenAI, Anthropic, Azure Anthropic, Google, ...

X Description: Summary Three things, in dependency order: Streaming tool calls and thinking from agent blocks (original scope) — live tool-call chips and thinking for OpenAI, Anthropic, Azure Anthropic, Google, ...

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

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:10cc64b6-8834-67a5-07e8-d721ba219863
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB706:FBC06:6EA9EC:99CDDF:6AFB43D1
html-safe-noncee89c8f2a3790b1aef52b02067a635e3cf90d09fc15d32c63142a2b0094dd45ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzA2OkZCQzA2OjZFQTlFQzo5OUNEREY6NkFGQjQzRDEiLCJ2aXNpdG9yX2lkIjoiNjMwNjQ3MzU2NTM5ODcxMzI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac809ef1a9e37643022510d95d09f8ef035be76d1bd858dc53f9754c73f8b93b5d
hovercard-subject-tagpull_request:4123118804
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/5922/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary Three things, in dependency order: Streaming tool calls and thinking from agent blocks (original scope) — live tool-call chips and thinking for OpenAI, Anthropic, Azure Anthropic, Google, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5922/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5922%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%2F5922%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/5922/files
Reloadhttps://github.com/simstudioai/sim/pull/5922/files
Reloadhttps://github.com/simstudioai/sim/pull/5922/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
fix/openai-live-tool-streamhttps://github.com/simstudioai/sim/tree/fix/openai-live-tool-stream
Conversation 25 https://github.com/simstudioai/sim/pull/5922
Commits 9 https://github.com/simstudioai/sim/pull/5922/commits
Checks 20 https://github.com/simstudioai/sim/pull/5922/checks
Files changed https://github.com/simstudioai/sim/pull/5922/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/files
feat(providers): prompt caching capability + usage-based cache pricing https://github.com/simstudioai/sim/pull/5922/files#top
Show all changes 9 commits https://github.com/simstudioai/sim/pull/5922/files
dcec55a improvement(providers): validation pass, and stream tool loop improve… Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/dcec55a89c82bf1c6cfc2f6829f4018ec4002941
e4b1919 remove deploy options correctly Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/e4b1919d71ca491b30a50f0b3ca2b42e0025df6a
56eb6cc fix Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/56eb6cc573ec460672aef155c9061cb3cdc67930
59faa5c chore(db): merge staging and regenerate chat migration Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/59faa5cc8741f6ccb67a550e81919a81e9716c48
dfb906c feat(providers): prompt caching capability and usage-based cache pricing Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/dfb906c3ff1b83a0730b82d0eeef50a8a8f60e16
c6c2f63 Merge remote-tracking branch 'origin/staging' into fix/openai-live-to… Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/c6c2f635bb52f1897ee8fd7f2ef007b4f3df2f9f
7245f4d fix(providers): route OpenAI and Gemini block cost through cache-awar… Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/7245f4dbe32bdd88326fad696aa65565b177509d
fbca58a fix(streaming): redact tool payloads on selected outputs in public chat Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/fbca58adfc8fa9f00053afbe8c625b9256325a76
ca00374 refactor(providers): drop unreachable billing fallbacks Jul 24, 2026 https://github.com/simstudioai/sim/pull/5922/commits/ca00374ca7ee80cdfe2aee66f4a69dd70c302f51
Clear filters https://github.com/simstudioai/sim/pull/5922/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/files
SKILL.md https://github.com/simstudioai/sim/pull/5922/files#diff-3baa95407bb899ad00ebbd878ab74eceae28336cafd24dd0f3a9659403e58b93
add-model.md https://github.com/simstudioai/sim/pull/5922/files#diff-c08a63325e15e0084331c534bfbf39c6c80dd300f832febf712c2958596cd28b
add-model.md https://github.com/simstudioai/sim/pull/5922/files#diff-636f73dd1f47433f0a4ca823c89e8957ac580b36735c86d041efc5a589951512
agent.mdx https://github.com/simstudioai/sim/pull/5922/files#diff-6c0af7ec8598191f85ca1c99c6bbb392ebea5ab35537826a35df3262f58419e1
agent-events.mdx https://github.com/simstudioai/sim/pull/5922/files#diff-f6bb3ad7069e9876a1b934ce2450454daa35f8aa26ff3759ab670503de46ec43
chat.mdx https://github.com/simstudioai/sim/pull/5922/files#diff-7f421c69bccb665cc285e11727719ba7e22ad2b0fcbb855879dae4292411c193
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a13d9967f4a5ea9e418cd26f50714ea88964dd7a294e6781327e9a57fc4a5c36
route.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5a523744ef25f2853c9f48b13e2dd49b2bbe8e8b5d6bef11e23e1222c5d81205
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8a99c670b366e7334e33efd903879be80c26cf0335260ab6be13877cc8934303
route.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7
route.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-6b51473ad82497a73196805629df8ede7d8e2c429afc587ad468cd3a1bd9fe4c
route.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-caf23f440ac9b441dddf3cd2cd2d61f5ebaa3a4b5d933e695ec6f5132d3e217e
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e0174d10938eba63dde75bec0fc930cb529cee9b458559127a2ddb7dd2217c70
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-f0099906729eb6afd2000b6dced811259d2d33f9603467865a6f175dcc06e685
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7b1d6f880bdb634cfe36e3194f375daebf3019f3512bfe2599f8373858888ca6
route.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7aff8147760fc652d5f1938e09fcba3888f4dff0c4c580df14909e6c180ba71e
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5dd332268a8557aa7d8327f67a513906b710d1c4051a463a0b42be8118b82bc7
route.ts https://github.com/simstudioai/sim/pull/5922/files#diff-66f204feb589208a932d4b6c514237d545b8f1e9746092bbc35345f49570a9be
chat.tsx https://github.com/simstudioai/sim/pull/5922/files#diff-0e2e4e864ca196c3b2a305080a5d799554796153f0e1021550f3e3806904f039
agent.ts https://github.com/simstudioai/sim/pull/5922/files#diff-948ddbf542b7729e05d975bec2be626a8c036185eaab10f4a07c87a333554835
snapshot-serializer.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-cca2c61442682126a042f9f4c1960194d8d280b290a15d3418be3ab5d8a9e4c0
snapshot-serializer.ts https://github.com/simstudioai/sim/pull/5922/files#diff-286b94d0dccf44786a3521cfa8c89356d4c9527067384c199248493c4d6a9a9b
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-13fa0f819e17231a9e7f2853107d2f340fd9f18b0e86b8bdb411237ad0563669
agent-handler.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07
agent-handler.ts https://github.com/simstudioai/sim/pull/5922/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-4c269ad308778a9d7a7cceec214349aa6d92a2b2cddd18bcfb39ad7dddc8d86a
evaluator-handler.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-349e75800134134493a5cf8a0b973c1e34b59ac553ecdb34c7454315317ad931
evaluator-handler.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7d18d10452826e76c1d19807f0b549c27e990eaa9388a3f7d8e40f7f3f02f00b
keys.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-df08e1b073210d3f6b9dfa475132c96a1f18e72a61a2ed4380fab64c0759b373
keys.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9aadc337d68ccf83d43a8f9618f3b90f29f4ba2e66d1bf2ff23b51a4614ca552
router-handler.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-301aff0677f688a704026c1673c63a966b446606b77ea8758ff0c537a88a49ce
router-handler.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d424ed355d5b10081a98438aef5cf0f41069330e59d34dc7fe67121b276cbc56
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b266de0e8311cee15872078a12705439e0d9b58ab87b7685752a0b3ea60cd378
chats.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d675fb4a077e1484d5b87d6921423b53eaa1a2ea7acbbdb5b04ac442d2d7db9c
chats.include-thinking.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-c30948c56e13e4e9e2d637a29e98ee8dfc3ccc718d7f0b58f73a191434f7de02
chats.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5a49e9f827129d86e8e3293db7878163a2e664785194e875c5bd22bcd72877c0
deployments.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7d7d32fbef789e263ff90a299246541e1b50a766cdca2acbb083b595c23d14a0
providers.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e23489a87c691271e28ae0cb2d117acea3d3b68a748f05ec6e1ef76b14a5b7a6
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-cda1d3c8d342e203a4cc8af4fea071c6c339afdd147d53336a71d3fb0b4909f5
deploy.ts https://github.com/simstudioai/sim/pull/5922/files#diff-3007b3f521b2a224185cb337e8b63b0216236714c63292d4dc4df555c93d2741
manage.ts https://github.com/simstudioai/sim/pull/5922/files#diff-183a15b402b6f841194969a2bc984fd869a3b44f58e2db84267a62a4565036f6
param-types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-2ab91f0bcc818dbf33ab03aea2a5f9a9ef3750bcdeff09b5e3801d18a94f2b90
span-factory.ts https://github.com/simstudioai/sim/pull/5922/files#diff-03c02936524f11bcd92fd7afe26db78c1696a51948ec26c2ec4a346be152a478
trace-spans.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9c690eb9cb9d5929d46a235a4008f96bdf80f81234df69922bd1443114126801
metrics.ts https://github.com/simstudioai/sim/pull/5922/files#diff-ce3273d0fcd639b90df071d2207c3ef4972bc11ed6e46fb6da89396eefda2903
execute-workflow.ts https://github.com/simstudioai/sim/pull/5922/files#diff-c95212b0627c1017d8539488fe27a171484db03b9abf46f759bf3b7ff8a93938
chat-deploy.ts https://github.com/simstudioai/sim/pull/5922/files#diff-90076014d55499b5e14f84d7b33ca58d2fb9a333d0affd5023491e9b3134fdfb
agent-stream-protocol.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-55e5e254aa8fba505facdc437beb5c40b087ab345a49d4bc99393e64382f7dbd
agent-stream-protocol.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b6c93649e8d87dd1d16fb71edb23eb75bf3c5656dbe231465a2867bb4a8f75f6
streaming.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-c0daf348fb52639cca4433db8b13baf0b85306a1cc2db586b889c2cca09a7799
streaming.ts https://github.com/simstudioai/sim/pull/5922/files#diff-f3b2401e1b7d76c61900537218a4487d4f56435eb7cb4d8d18e502e0ed64ad64
core.request.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-76a95d50efbfc72eea2612748e8de5cb5c7e70fa70ca91e32da5e7dc7a07b13c
core.streaming.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9da6b684a6426992d6bc493595faed20b7038f2a91392c17c04e4998fce0cdd2
core.thinking.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-52ef660ef0ff9706ebcfc1a492c249eb8df938b0900f35bd6830d49712f37e72
core.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5e8b122a2de550ace8e7ebc210af52308877b441b8fab3735bad2c0f0fd1a464
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-19424e0986373e8766fcf7fe6337895e08d4402900036897536234fa29423ec6
request-history.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b4690a3b1950cfb90ef8b3dd1abf0e15f688422bcf76befb1918cc07897e17f3
request-history.ts https://github.com/simstudioai/sim/pull/5922/files#diff-39e71353bdd318a415d0dc623c8874094e9c6e0fcc39272fce75f7d583db0e46
streaming-tool-loop.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-0878d6eb922f18d8b0710aef98d4a69f793addd7cd08fdf61205e11b6c65c293
streaming-tool-loop.ts https://github.com/simstudioai/sim/pull/5922/files#diff-4ab735403fd5f7bbc1030f7f6077f090c121300f249756f7a0d94f1a505c8749
usage.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-572f22ab345f4946c8f0061da0d1302fd1d10e650d08fce37f9887d69c423cb6
usage.ts https://github.com/simstudioai/sim/pull/5922/files#diff-99c6cb24a2c6d144ed7357b23632a0442cfce557aa0f0024f03d84b2af2224fd
utils.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-49ffdc825307273d1df06eb246d91b332f3235ccc4d02254a5bdb5a23dc750a0
utils.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1b91fa01dcfea9672d369a222e8ae156aeec35325dfec20681301dfc7ddf6f0b
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-460333655e50fea1e367983ccbd704b99919a8824be5385556040f5ea9acac48
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a6fdd07773581d6cfc09cca56328b63f5143569461cd2c1f0a73dbbabe2ef51c
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-35ac2429a0b44bcb410a0b3779481348b1e39fe6c5b0081f0989dad7a7dcdaa7
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-16321ba301b4b37e6ec0f1c8c23c7c44ec94c64c8fe182853cb0e6cbb0afb28a
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-fd07cba7f0562fd7b4ff6329696901056b5047f8fedc3ba1f1c46e0b676d0a88
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-103dad285850be2cc0a1db06ee831fe38d7cef8d29b3706ddb7351b75d13550d
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b1eaa7e20168d9f7a9cd37c1f7090bbd0a64cdff815878d191071adb8b97325f
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-430edca940fea52c2016798b697ebf99e67d20319f3f4ae0badc79a78db9b4a1
streaming-tool-loop.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-841eb68dd724627ddc223c3285a68a459ddc5c3b1d82ba69e0711215b9c79b45
streaming-tool-loop.ts https://github.com/simstudioai/sim/pull/5922/files#diff-f2994da3b918d3e523e4b15bc3562fd2aab487572f00d229347f2cfd866c5a0a
utils.stream.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-cfb611eb28cc3aff504f3bf6014d83755963576acc3bf84b3028361a5b447f38
utils.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-eb23bc6746f9258e2280c930cda26737c8131756c7bd63be7f009f43b09c692f
utils.ts https://github.com/simstudioai/sim/pull/5922/files#diff-72d35f4c849786817f77a864d01f4d168924828c5b7053e9acf788ce306e0b64
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-fac352c14773e8e24fcc0ea45e0643de8dcabbedf7da0e1006617f27bc1fa889
cost-policy.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-ed4257cf2fc98e3732c3c77b211c98c9588b62421255b578e59f943f56cfe4d2
cost-policy.ts https://github.com/simstudioai/sim/pull/5922/files#diff-df8da05f889f2850ae47eb3310daf1d906cbe0e8c042d4b586eb6c337921e9fd
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8a4992ad5e4ed33f569492c2aa78c909d0c09c0d029db2d4f94186c2840f355a
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e7b802431ef34f879444e897665789401f6e32e0fd34b6a1b3255035fa7cefdf
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5bbccd1dbc85fe5fa8f0a9f8da8d8e47c0342a427e0a086ed6d53ee12500170e
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e6da61831a3c1618e6e24172225c2751847cfa734527f7f13d60cbef34cfaad9
core.cost.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9020639ce7e2a044a520bfb9a19da0a89c99c427607d54dbd7418dc3a19e5053
core.streaming.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-c103dda5c4f6d491c5509f3565af1a3ef001a75c8642c355da43837e2d925aae
core.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a8980f5bce8140e2c15eebdd5bd5898fb6a7173d3c355d1f6f62adfa116223ba
streaming-tool-loop.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-0bd8d18d3784ff8c43474a14e64756208895ea3fe07b068e0346e61287aa7414
streaming-tool-loop.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9ba54d7afce2367735acd3c9fa3aa3ca2dfb0a74839ae03bd81eeb4dfeb73b3b
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-db30c93b46042c84ac80725119d88b00a15b722fcf938ae9ce92d866e678facd
usage.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7e60e2ce5cd32676c8fe43cb97dd04762965d011e1c8a5bcc73806b02630e560
usage.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9a243fb5dd1af69b5dce360173e067388943208c3b000141d0835e4a8b132e57
utils.stream.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-12ddf3635831592bbdf1e6ef4addfb1ddc571e9294346f5e1131189a7b41cecd
utils.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-6c61aed92ad1d97fdae276fe37a2580dce77da8c3f2ffb839c8acc1b779559fb
utils.ts https://github.com/simstudioai/sim/pull/5922/files#diff-2d90cff6f90076973dd8130f2909050c5f98cf51e0116982351d9011014cfa67
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a5d9c42cba9487bec7ddb65f18b28a6a4af339d46ce88739e34b79f6d5e23669
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-0a8b21f6aefdc86996f781432a69907c949627b765058ceaa8457a95aaaca5ac
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-457f24777e278f328941b561bacfb240afbf5d793309275f6074dbcfd3772dc5
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-92244480a807def297332120dcdc4194e4456e8afedcd04786ddff18f495d51a
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8ece5fc2961dea457941f6a3c5b02b10afbf4276fd20cefc2f9e3faeb971668f
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8bad07072e7a013b21346abe8a31858e7fe6cfb27834e8a07dca6e77ef0e9890
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d630c240ddcd03fc91feb9d689a6682ed7b1f46c1509af39d2062c797ca3f381
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-da942296674939480480faaf5dc80b04163c2ac2daab2192294e4616ea55d73a
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-cab3e3158886b6295327d8548af6c1bc872f77ce1af80d3aef73f6a33ef7b47e
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-2764bb65fb46d0b7df70f131f540b1d50cbc86932c85163c9cae302f6fa41dd0
models.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-0f2a73cedc47510e26699888e6cd492fa5271854652227b0e2556913bd0a9e94
models.ts https://github.com/simstudioai/sim/pull/5922/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7d05d787a1b97584f253299efa465adb29d1e8769d58bd7ce5cc214aa439f2af
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-bba59a866b0f07bcf74809e5b4b050254589785561061daca5e71fa95af7dc98
core.ts https://github.com/simstudioai/sim/pull/5922/files#diff-c9d67cab22514b5b80053abf6b14d7f6d4c67dd8f8f661331fb49544b7caffb5
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-78eebd277668b2e4dc5a7de9c686c336fbd4ac57a687bdf67466b3d2f3491ecc
assistant-history.ts https://github.com/simstudioai/sim/pull/5922/files#diff-ba4b82ad4f673bc284fd6f4881520984f60691afc471561f29ec1bba25f4d2d1
stream-events.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-24224f668e72815f7315b0535e44e3bf5ef12b566687d45dde606dd1ec636941
stream-events.ts https://github.com/simstudioai/sim/pull/5922/files#diff-56331e106a01e66b52a19c33bdedbbb9c6eb0a8c427207e1aa883af8bfc7b122
streaming-tool-loop.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e591c718014777f74c38a81c89bec79970d0ce4a3758cb5e28d008f3fb1e1215
streaming-tool-loop.ts https://github.com/simstudioai/sim/pull/5922/files#diff-3dc2fe29b32241eeec1ee75f8b359e90195c2a0d79aa1cb2d3a19c240ad06575
core.cache-key.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-95f7e0bf1b27a4144766456ed314bf665e307099a6a5833b527fb5bb5559c9db
core.reasoning.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-fbcc14185f3da723401b0107ed8e1f60d25d3a7a09bc256f30ca89fdcb96399d
core.ts https://github.com/simstudioai/sim/pull/5922/files#diff-08a8d94bfd29c80408e6c52311d64c5f906c60d0e7a2144ec632f75d271e3492
streaming-tool-loop.ts https://github.com/simstudioai/sim/pull/5922/files#diff-dd300b5ccdc69e787ae5502e0dc454b4e5b3049e0bbd96d3775ed2c6cae1b4c2
trace.ts https://github.com/simstudioai/sim/pull/5922/files#diff-fd078c1881a3fcde97f5c909c0e31e0d095c78f25fb284a1447da5aca0918685
usage.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-acc7cffd99f253ab268368bc16603abb6d5561f525add7de5df523bc99a88dae
usage.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9d80f7878ad1799f54055893f963a1b307c294cfc523df2dc5444e7d0f105068
utils.stream.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-18400099fc61056f2bb916295667bd838d51833d99d630dbf6658be4221f89c6
utils.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-51c5a9bf6f33ad270dc3e35eb6f7df59220bd8a108754622b13796e79e2f6964
utils.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d1184a56d188ef3d5d3fe2f64fc0ba8b943c87e88c9b505d40b256b2d6164b59
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-586181c77d6b94da34c760008c09d5524b7e93875190d73131a2aef87293d1b2
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1b6d05aaa057bb7cc18dcf51b651ef4d12677ebad456c29b73ee536c2cf2063a
reasoning.ts https://github.com/simstudioai/sim/pull/5922/files#diff-2d6c4117a63741632aa2cb789f77d8e14aaf669995b4949f29300c974f2003c9
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-054de92759ba27d61634b4dfd21606cd7b46d94cb2691223845d2c9f9b50cf52
settled-tool-streams.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-97d58b0742b8d228f967c99eb02d79f80582cc8f4bc632079f5c0f869bc36980
stream-events.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8ca1e3402190309a25b627121dec61e6c1c0d1ab8c2713389276c70fe2d8aa3a
stream-events.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d93990f613d9a9f81c25a3ee947fb45ee04f730e1bef961ea09d5bd0b7d0fce9
streaming-execution.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1dd84d799b13023151dc429604c2324ea8d19838f20866e23c2fc8601ba02642
streaming-execution.ts https://github.com/simstudioai/sim/pull/5922/files#diff-802feca10aa669118d60ec7832cf715987356e20d8e7a3c975d7a0b80d97a2a0
streaming-tool-loop-shared.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d8416a69c350cfbce4d198febfc2c52fd1d9f7f6b7d9dc8cffd7c104c6e0e4c2
streaming-tool-loop-shared.ts https://github.com/simstudioai/sim/pull/5922/files#diff-d8c13a2a58b4d71aed3c9977f25f55fd24dd0ae6bab106d5216b36f49915d296
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-be29703372803b9290a189e5d3cd439da95a30b532db59c60ad64cf2607b328e
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-7c162b0b47195501848697e705a9b7f65f1c0495b39857bce2cd0e576e630aee
trace-enrichment.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a9a711cfa0c82036361d011e9e4e10fb4979774999cec6af135b26744f219761
types.ts https://github.com/simstudioai/sim/pull/5922/files#diff-173d679b23ede4297b7b374f41798fcf014b853f44c38f29fbbcbb8ee5ba39f5
utils.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8eabf1c02c2ea4149f157a0f4345ce7273b3f388cd42a32c660e07f72335025b
utils.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e5a8ed3fe51b6470c7acddd9beac4eecb4c915cacc23d40b68b566a998ac121e
index.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-8368146aa3d08254e159b0b7c7cc74a049b1a14acea60cd9b4de566bf5959c8b
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-5dc87b21d7216b477b0ffc10118f46d099ae9416e6ab03f01cf478263f2ec3fa
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-6a25345dd21f13435ed78bfd600452bd2118638cabe5e77266bc3dc22c9d8b16
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1b5cdc5c8348404e11125203792ad5367371512daa0cbcbe2b5079ed4d675b6d
batch-scrape.ts https://github.com/simstudioai/sim/pull/5922/files#diff-fceeacaf5466ce81bc73019a54b23cd33597dbffec7c365600e5f8634223c7ba
crawl.ts https://github.com/simstudioai/sim/pull/5922/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
extract.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1d445e9d536134aaf2ca929f516cd405fa3fd2deb5a93b777afebc58cc0b7c26
hosting.test.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b36fbb4453c45a283e876ac32c5a0893b8438e74938d18e8a73f22d8ee7b68fb
hosting.ts https://github.com/simstudioai/sim/pull/5922/files#diff-a9e8fefff3545a6265ffd62d271a72a7f0889d20d2e48a84b44bb551a0f12ccb
map.ts https://github.com/simstudioai/sim/pull/5922/files#diff-e1e9030db489e62f5bc7429286ca682593ade243909c6c555f96aded39a0515f
parse.ts https://github.com/simstudioai/sim/pull/5922/files#diff-2a2ee907f1d62ee9a30d7c37e44b226228a0ef00a64e5dcc9177c48a6b3a7e4b
scrape.ts https://github.com/simstudioai/sim/pull/5922/files#diff-53e9dd20cb3820f314b5ecbb641c1ed5a423607ba1fbf08dbc7bbf4fbecf762b
search.ts https://github.com/simstudioai/sim/pull/5922/files#diff-1ba3467be51184680a94325afe513ed9c917c5572d1db88718d58011947f6abb
distance_matrix.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b5393ca5dc3adf5469fd6642ee119793b87bf0e14c055a1d01e8694b15eecd28
index.ts https://github.com/simstudioai/sim/pull/5922/files#diff-47ae0066fea628681d98d136239929a240a55aaf3d99ef293c83b3eca7e197c1
chat.ts https://github.com/simstudioai/sim/pull/5922/files#diff-ce4af2101121bfa3c20732bca6f5fd8de95d71e07877b797471578128ba1f39e
deep_research.ts https://github.com/simstudioai/sim/pull/5922/files#diff-b7f77f1d232121ed28ac6f6583f11ee699e32c7940a8bb4cbb046f057008940c
0269_late_spencer_smythe.sql https://github.com/simstudioai/sim/pull/5922/files#diff-7d8a51b446a5bfd7d50240d51ecad39bb89e58271b8cfb542e722ed453a21cac
0269_snapshot.json https://github.com/simstudioai/sim/pull/5922/files#diff-af6a54a845cfe8e7c6acdd41e3f4ca58a3b98b875ccb2a5caa0730532aa2a8be
_journal.json https://github.com/simstudioai/sim/pull/5922/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649
schema.ts https://github.com/simstudioai/sim/pull/5922/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928
schema.mock.ts https://github.com/simstudioai/sim/pull/5922/files#diff-3b648ee44a059e5fc069169fdfd7c32c89200a3e79b5d0dc25227d3470da73af
sync-agent-stream-docs.ts https://github.com/simstudioai/sim/pull/5922/files#diff-f854615b83b1da5b16c415276a4890fc67fcda5f187c2789c095baa673ad0d97
.agents/skills/add-model/SKILL.mdhttps://github.com/simstudioai/sim/pull/5922/files#diff-3baa95407bb899ad00ebbd878ab74eceae28336cafd24dd0f3a9659403e58b93
View file https://github.com/simstudioai/sim/blob/ca00374ca7ee80cdfe2aee66f4a69dd70c302f51/.agents/skills/add-model/SKILL.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5922/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5922/files#diff-3baa95407bb899ad00ebbd878ab74eceae28336cafd24dd0f3a9659403e58b93
https://github.com/simstudioai/sim/pull/5922/files#diff-3baa95407bb899ad00ebbd878ab74eceae28336cafd24dd0f3a9659403e58b93
.claude/commands/add-model.mdhttps://github.com/simstudioai/sim/pull/5922/files#diff-c08a63325e15e0084331c534bfbf39c6c80dd300f832febf712c2958596cd28b
View file https://github.com/simstudioai/sim/blob/ca00374ca7ee80cdfe2aee66f4a69dd70c302f51/.claude/commands/add-model.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5922/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5922/files#diff-c08a63325e15e0084331c534bfbf39c6c80dd300f832febf712c2958596cd28b
https://github.com/simstudioai/sim/pull/5922/files#diff-c08a63325e15e0084331c534bfbf39c6c80dd300f832febf712c2958596cd28b
.cursor/commands/add-model.mdhttps://github.com/simstudioai/sim/pull/5922/files#diff-636f73dd1f47433f0a4ca823c89e8957ac580b36735c86d041efc5a589951512
View file https://github.com/simstudioai/sim/blob/ca00374ca7ee80cdfe2aee66f4a69dd70c302f51/.cursor/commands/add-model.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5922/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5922/files#diff-636f73dd1f47433f0a4ca823c89e8957ac580b36735c86d041efc5a589951512
https://github.com/simstudioai/sim/pull/5922/files#diff-636f73dd1f47433f0a4ca823c89e8957ac580b36735c86d041efc5a589951512
apps/docs/content/docs/en/workflows/blocks/agent.mdxhttps://github.com/simstudioai/sim/pull/5922/files#diff-6c0af7ec8598191f85ca1c99c6bbb392ebea5ab35537826a35df3262f58419e1
View file https://github.com/simstudioai/sim/blob/ca00374ca7ee80cdfe2aee66f4a69dd70c302f51/apps/docs/content/docs/en/workflows/blocks/agent.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5922/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5922/files#diff-6c0af7ec8598191f85ca1c99c6bbb392ebea5ab35537826a35df3262f58419e1
https://github.com/simstudioai/sim/pull/5922/files#diff-6c0af7ec8598191f85ca1c99c6bbb392ebea5ab35537826a35df3262f58419e1
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/files
https://github.com/simstudioai/sim/pull/5922/files#diff-6c0af7ec8598191f85ca1c99c6bbb392ebea5ab35537826a35df3262f58419e1
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5922/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.