Simon Willison

Results 2425 comments of Simon Willison

You're not supposed to use both `-c/--continue` and `--cid/--conversation` at the same time - the `-c` option is meant to be a shortcut for `--cid last-conversation-id`. It may be a...

Here's the relevant code: https://github.com/simonw/llm/blob/330a5686833b9084c8f3d2de18701cbc4328491b/llm/cli.py#L724-L732 Which calls this: https://github.com/simonw/llm/blob/330a5686833b9084c8f3d2de18701cbc4328491b/llm/cli.py#L1224-L1238

But maybe I'm misunderstanding what you reported? > Here, the first two (or rather 3rd and 2nd last) conversations were done with `llm --continue --conversation foo`. However, the last prompt...

I'm not entirely sure if I should add an error for the `-c --conversation` problem - right now if you pass both the `-c` one is silently ignored in favor...

I had thought that **attachments** would be the way to handle this, but they only work for audio/image outputs - the thing where Claude and DeepSeek can return annotated spans...

Here's an extract from [that Claude citations example](https://gist.github.com/simonw/022d082ccfd636256f72150df344335e): ```json { "id": "msg_01P3zs4aYz2Baebumm4Fejoi", "content": [ { "text": "Based on the document, here are the key trends in AI/LLMs from 2024:\n\n1. Breaking...

Meanwhile OpenAI audio responses [look like this](https://gist.github.com/simonw/ef98c26b769928ec4cab21d76746bf06) (truncated).I'm not sure if these can mix in text output as well, but in this case the audio does at least include a...

Wrote about this on my blog: https://simonwillison.net/2025/Jan/24/anthropics-new-citations-api/#now-i-need-to-design-an-abstraction-layer-for-llm

That Cohere example is really interesting. It looks like they decided to have citations as a separate top-level key and then reference which bits of text the citations correspond to...

I'm going to call this **annotations** for the moment - where an annotation is additional metadata attached to a portion of the text returned by an LLM. The three things...