Skip to content

[pull] main from microsoft:main#1316

Merged
pull[bot] merged 9 commits into
code:mainfrom
microsoft:main
May 31, 2026
Merged

[pull] main from microsoft:main#1316
pull[bot] merged 9 commits into
code:mainfrom
microsoft:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 31, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Tyriar and others added 9 commits May 30, 2026 22:44
…9068)

Awaiting promises before passing them to Promise.race serializes the
competitors and defeats the race. Pass the timeout and onDidChangeInput
promises directly so the timeout can fire while waiting for input.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
…19172)

Parse the per-TTL breakdown from Anthropic's usage.cache_creation object
(present in message_start across CAPI/Anthropic 1P, Bedrock InvokeModel,
and Vertex AI) and emit two new measurements on response.success:

- promptCacheCreation1hTokenCount: 1h-TTL writes (2x base input rate)
- promptCacheCreation5mTokenCount: 5m-TTL writes (1.25x base input rate)

Enables exact per-row COGS attribution for the
chat.anthropic.promptCaching.extendedTtl A/B experiment without
inferring rates from arm assignment.

The new fields live on a nested anthropic_cache_creation? object on
APIUsage.prompt_tokens_details, namespaced to make the
provider-specificity explicit at the type level. Other providers leave
it undefined; telemetry uses optional chaining so missing values drop
cleanly from the row.
* Propagate error from zipfile to the caller of read()

* PR feedback
* fix: memory leak in extension actions

* Reuse runAction helper to dispose actions

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
)

* Clean up elements from DOM that did not get cleaned up in the previous render

* Remove accidental file.

* PR feedback
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
* fix: memory leak in search results view

* better fix

---------

Co-authored-by: Osvaldo Ortega <48293249+osortega@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
…19185)

Report Anthropic thinking_tokens as completion_tokens_details.reasoning_tokens
@pull pull Bot locked and limited conversation to collaborators May 31, 2026
@pull pull Bot added the ⤵️ pull label May 31, 2026
@pull pull Bot merged commit 6b1e551 into code:main May 31, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants