Closed yorickvP closed 2 weeks ago
Thanks - this is a bug in LLM core, moving it there.
This happens with Claude 3.5 Sonnet and GPT-4o, so I think it's a bug in LLM.
I'm not sure why this test didn't catch this:
I've manually tested the fix and confirmed that it works. I'll need to rethink this when I add attachment support to llm chat
directly.
Manual testing:
% llm chat -m gpt-4o-mini
Chatting with gpt-4o-mini
Type 'exit' or 'quit' to exit
Type '!multi' to enter multiple lines, then '!end' to finish
> A short pun about pelicans
Why donโt pelicans ever get invited to parties? Because they always bring their own bag!
> banana slugs
What do banana slugs wear to impress each other? Slug-phy attire! ๐๐
And llm logs -c
now returns:
2024-11-01T21:18:36 conversation: 01jbmsg3f181dntajvanx0ep5g
Model: gpt-4o-mini
Prompt:
A short pun about pelicans
Response:
Why donโt pelicans ever get invited to parties? Because they always bring their own bag!
2024-11-01T21:18:41
Prompt:
banana slugs
Response:
What do banana slugs wear to impress each other? Slug-phy attire! ๐๐
This seems to be a duplicate of #597 so I'll close that too -- glad to see it fixed, thanks Simon!