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

feat(history): add support for prompt histories. #42

Merged
merged 4 commits into from
Apr 30, 2024

Conversation

AnnatarHe
Copy link
Contributor

add support for prompt history

Copy link

codecov bot commented Apr 28, 2024

Codecov Report

Attention: Patch coverage is 68.57143% with 33 lines in your changes are missing coverage. Please review.

Project coverage is 42.30%. Comparing base (defe0a0) to head (c366728).

Files Patch % Lines
schema/prompt.history.go 70.32% 22 Missing and 5 partials ⚠️
schema/prompt.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   40.77%   42.30%   +1.53%     
==========================================
  Files          36       37       +1     
  Lines        1594     1697     +103     
==========================================
+ Hits          650      718      +68     
- Misses        890      919      +29     
- Partials       54       60       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Added tests in prompt_test.go to check the retrieval of prompt histories using the given context. This ensures that the histories are correctly fetched and have necessary attributes such as ID, name, created date, and updated date.
@AnnatarHe AnnatarHe merged commit 72b9c7e into master Apr 30, 2024
5 checks passed
@AnnatarHe AnnatarHe deleted the add-prompt-history-and-calls branch April 30, 2024 17:58
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.

None yet

1 participant