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

v0.2.0 Release #1

Merged
merged 7 commits into from
Sep 13, 2024
Merged

v0.2.0 Release #1

merged 7 commits into from
Sep 13, 2024

Conversation

mdegans
Copy link
Owner

@mdegans mdegans commented Sep 13, 2024

  • More flexible and concise API.
  • Tool support working and tested
  • Builder pattern for Request.
  • CI and coverage (and badges!)
  • Markdown support using pulldown_cmark and pulldown_cmark_to_cmark. Guaranteed well formed markdown and pulldown_cmark::Event iterators for rendering as HTML (or anything else)
  • Can count the numbers of 'r' letters in "Strawberry".
  • Bug fixes!

- Better Markdown support
- Tested tool use with example
- Builder pattern for `Requests`
- Useful conversion shortcuts
- Stream delta enhancements
- Coverage, CI

Still to add before release is
- more coverage
- streaming tool example, how to apply deltas
- integrate examples in docs
Coverage should not be uploaded on PR.
- "System" now has a H3 header like the rest.
- More conversion shortcuts making example code much shorter
- More coverage, even of dumb things like accessor methods.
- Verbose Options to print System and Tool use as well as messages.
- More Cow<'static, str> to avoid copies and allow `const` `Message`s and so on. Eventually we might add a lifetime generic so this could also be used for zero-copy, deserialization but the cognitive overhead is not worth it yet.
- Update `README.md` code
- Test the Stream with an actual stream dump from the API docs. The flexibility of `Stream::new` has paid off.
- Add itertools as a dev dependency for parsing the test SSE stream elegantly.
it won't be valid until we push to main, but this should be correct.
- Covered most of Client. Integration tests using Anthropic's service.
- Covered more of `message.rs`. Found an image Display bug.
- Switch coverage generation to `llvm_cov`. Tarpaulin is shit and can't run all tests at once.
@mdegans mdegans merged commit ce1c0d9 into main Sep 13, 2024
3 checks passed
@mdegans mdegans deleted the dev branch September 13, 2024 23:39
@mdegans mdegans restored the dev branch September 13, 2024 23:40
@mdegans mdegans deleted the dev branch September 13, 2024 23:41
@mdegans mdegans restored the dev branch September 13, 2024 23:41
@mdegans
Copy link
Owner Author

mdegans commented Sep 13, 2024

Gonna leave the dev branch for a minute since it's linked to from Ars.

@mdegans mdegans deleted the dev branch September 14, 2024 21:40
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.

1 participant