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

Edit: Default doc to Claude Haiku #3572

Merged
merged 8 commits into from
Mar 27, 2024
Merged

Edit: Default doc to Claude Haiku #3572

merged 8 commits into from
Mar 27, 2024

Conversation

umpox
Copy link
Contributor

@umpox umpox commented Mar 27, 2024

Description

This PR defaults the doc command to Claude 3 Haiku.

I noticed that we were relying on this response always applying a new line for it to work correctly. This PR also addresses that by ensuring that all insertions end with a new line when finished.

I think this is the correct behaviour as we currently don't really have a strong use case for in-line insertions (rather that's where completions would come in anyway)

Test plan

  1. Check doc command works as expected
  2. Check latency of doc command
  3. Check other insertions like generate and test

closes #3517

@umpox umpox marked this pull request as ready for review March 27, 2024 09:45
@umpox umpox requested review from abeatrix and a team March 27, 2024 09:46
Copy link
Contributor

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely

@umpox umpox enabled auto-merge (squash) March 27, 2024 11:33
@umpox umpox merged commit ef205c1 into main Mar 27, 2024
19 of 20 checks passed
@umpox umpox deleted the tr/doc-haiku branch March 27, 2024 11:36
@abeatrix
Copy link
Contributor

This PR also addresses that by ensuring that all insertions end with a new line when finished.

Iirc we had this logic in the fix up controller that adds a new line at the end as well 👍

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.

Edit (Document): Use Claude Haiku
3 participants