Skip to content

Releases: simonw/llm-anthropic

0.12

31 Jan 18:29
6c6fa38
Compare
Choose a tag to compare
  • Support for Claude's prefill feature, using the new -o prefill '{' option and the accompanying -o hide_prefill 1 option to prevent the prefill from being included in the output text. #2
  • New -o stop_sequences '```' option for specifying one or more stop sequences. To specify multiple stop sequences pass a JSON array of strings :-o stop_sequences '["end", "stop"].
  • Model options are now documented in the README.

0.11

17 Dec 20:42
Compare
Choose a tag to compare
  • Renamed llm-claude-3 to llm-anthropic
  • Now looks for a key called anthropic (previously looked for claude) - set that with llm keys set anthropic
  • Model IDs now start with a anthropic/ prefix, e.g. llm -m anthropic/claude-3-5-sonnet-latest 'say hi' - but previous aliases such as llm -m claude-3-5-sonnet 'say hi' continue to work.