Skip to content

Add timestamp to SystemPromptPart #1154

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

Merged

Conversation

vricciardulli
Copy link
Contributor

@vricciardulli vricciardulli commented Mar 18, 2025

Addresses #1145

Adjusted all relevant tests and docs.

Copy link
Contributor

hyperlint-ai bot commented Mar 18, 2025

PR Change Summary

Added an optional timestamp parameter to the SystemPromptPart in various documentation files.

  • Introduced an optional timestamp parameter to SystemPromptPart in multiple examples.
  • Updated test cases to include the new timestamp functionality.
  • Modified documentation to reflect the changes in SystemPromptPart usage.

Modified Files

  • docs/message-history.md
  • docs/testing-evals.md
  • docs/tools.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

@Kludex Kludex changed the title Add optional timestamp to SystemPromptPart Add timestamp to SystemPromptPart Mar 19, 2025
@Kludex
Copy link
Member

Kludex commented Mar 19, 2025

Thanks @vricciardulli 🙏

@Kludex Kludex enabled auto-merge (squash) March 19, 2025 18:31
@Kludex Kludex merged commit 2b1aee8 into pydantic:main Mar 19, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants