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

Carry context in response to user messages #2

Open
nikomatsakis opened this issue Jun 9, 2024 · 3 comments
Open

Carry context in response to user messages #2

nikomatsakis opened this issue Jun 9, 2024 · 3 comments
Assignees

Comments

@nikomatsakis
Copy link
Collaborator

The followUp function is providing zero context:

https://github.com/nikomatsakis/intorust.vscode/blob/ffff983688652133fe4a5fc80221fba683a6e6f5/src/advisor.ts#L25-L36

This results in amusingly bad responses. e.g., I asked how to convert a number into a string and it talked about Python.

@kwdev
Copy link
Collaborator

kwdev commented Jun 11, 2024

I updated this a little bit by adding a user prompt in the follow-up to keep it Rust-focused.
#17

@kwdev
Copy link
Collaborator

kwdev commented Jun 11, 2024

Implemented very basic context in #18
It does not yet summarize or pay attention to the size of the context growing yet.

@kwdev kwdev self-assigned this Jun 11, 2024
@kwdev
Copy link
Collaborator

kwdev commented Jun 12, 2024

Ensure token size stays within bounds for the model - #19

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

No branches or pull requests

2 participants