Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle prompt: None better in logs #783

Closed
simonw opened this issue Feb 27, 2025 · 4 comments
Closed

Handle prompt: None better in logs #783

simonw opened this issue Feb 27, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@simonw
Copy link
Owner

simonw commented Feb 27, 2025

Currently looks like this:

## Prompt:

None

### Attachments

1. **image/jpeg**: https://static.simonwillison.net/static/2024/recraft-ai.jpg

## Response:

This image shows a cartoon illustration of a cute raccoon character created in a...

A few problems:

  • None for the prompt is ugly.
  • Inconsistent use of : on those headings
@simonw simonw added the bug Something isn't working label Feb 27, 2025
@simonw
Copy link
Owner Author

simonw commented Feb 27, 2025

I'm going with - none - for the prompt display. I'll settle on no colons.

@simonw simonw closed this as completed in 3d4871f Feb 27, 2025
@simonw
Copy link
Owner Author

simonw commented Feb 27, 2025

Now looks like this:

# 2025-02-27T03:12:03    conversation: 01jn2p7yr0mdetc6byr5p8zf8d

Model: **anthropic/claude-3-7-sonnet-latest**

## Prompt

- none -

### Attachments

1. **image/jpeg**: https://static.simonwillison.net/static/2024/recraft-ai.jpg

## Response

This image shows a cartoon illustration of a cute raccoon character created...

@simonw
Copy link
Owner Author

simonw commented Feb 27, 2025

Actually no, when we render it looks like this:

Model: anthropic/claude-3-7-sonnet-latest

Prompt

  • none -

I don't want that as a bullet.

@simonw
Copy link
Owner Author

simonw commented Feb 27, 2025

Switching to -- none -- fixes that:

2025-02-27T03:12:03 conversation: 01jn2p7yr0mdetc6byr5p8zf8d

Model: anthropic/claude-3-7-sonnet-latest

Prompt

-- none --

simonw added a commit that referenced this issue Feb 27, 2025
simonw added a commit that referenced this issue Feb 27, 2025
simonw added a commit that referenced this issue Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant