mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
Extract last artifact from startAgentEvent to simplify contract #150
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcusschiesser on GitHub (May 16, 2025).
Originally assigned to: @marcusschiesser on GitHub.
extractLastArtifactshould not be extracted from the reqBody, but instead from the passed UI messages in thestartAgentEvent.The problem here is that the reqBody contains the annotations (having the artifact), whereas the
chatHistoryin thestartAgentEventdoesn't contain them.We'll touch this after upgrading to AI SDK 5