Skip to content

Even FURTHER expand inputs; caching on the graph - #28

Open
jtoman wants to merge 1 commit into
masterfrom
jtoman/even-more-expanded-inputs
Open

Even FURTHER expand inputs; caching on the graph#28
jtoman wants to merge 1 commit into
masterfrom
jtoman/even-more-expanded-inputs

Conversation

@jtoman

@jtoman jtoman commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Expands the prompt input types to accept a "renderable" callback, which mostly obviates the "inject" pattern (there are still some legitimate uses). Further, we allow adding a sentinel "CacheMarker", which delegates to a cache manager bound alongside the BaseChatModel. This allows binding all of the "llm specific stuff" (cache management, llm) etc. alongside the other ambient state.

Expands the prompt input types to accept a "renderable" callback, which
mostly obviates the "inject" pattern (there are still some legitimate
uses). Further, we allow adding a sentinel "CacheMarker", which
delegates to a cache manager bound alongside the `BaseChatModel`. This
allows binding all of the "llm specific stuff" (cache management, llm)
etc. alongside the other ambient state.
@jtoman
jtoman requested a review from shellygr July 31, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants