Skip to content

[pull] main from danny-avila:main#52

Merged
pull[bot] merged 2 commits intoinnFactory:mainfrom
danny-avila:main
Mar 15, 2026
Merged

[pull] main from danny-avila:main#52
pull[bot] merged 2 commits intoinnFactory:mainfrom
danny-avila:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 15, 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 : )

…ThinkingBlockInMessages (#75)

Previously the function iterated all messages from index 0, converting every
AI→Tool sequence without a thinking block into a HumanMessage — even sequences
that were already accepted history. This broke prompt caching and added
unnecessary token overhead.

Now the function finds the last HumanMessage, preserves everything before it
as-is, and only validates/converts the trailing AI→Tool sequence that will
actually be sent to the provider.
- Added `auth` and `expires_at` properties to `ToolCallDelta`, `PartMetadata`, and relevant processing functions to support authentication and expiration handling for tool calls.
- Updated `createContentAggregator` to utilize these new fields, ensuring proper propagation of authentication details and expiration timestamps in tool call processing.
@pull pull bot locked and limited conversation to collaborators Mar 15, 2026
@pull pull bot added the ⤵️ pull label Mar 15, 2026
@pull pull bot merged commit 7626074 into innFactory:main Mar 15, 2026
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.

1 participant