shipfeedAI news, curated daily

06:15:16 CET
22 SEPT06:15:16shipfeed
pull to refreshlast sync
Just in — 30 new
§ langchain · storyline

Accepts SystemMessage anywhere in message list

Anthropic updates to accept SystemMessage anywhere in message list.

today · · primary fetch1 sourceupdated today ·

Patch Changes #11669 `fb2a9f3` Thanks @richardscarrott! - feat(anthropic): accept a `SystemMessage` anywhere in the message list. Previously only the first message could be a system message. Anything else threw. A system message that isn't first is now sent at its own position. It applies from that point in the conversation onwards, and adding one leaves the prompt cache for the earlier turns intact.

Two smaller changes come with it. A leading run of two or more `SystemMessage`s now merges into the top-level `system` field instead of being rejected. System content built from standard content blocks no longer sends the internal block `id` to the provider.

read full article on github.com
§ sources1 publication · timeline below
  1. github.comLangChain (JS) — anthropic v1.5.11primary