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

chore: move file info outside of the code #4276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rcrick
Copy link

@rcrick rcrick commented Feb 21, 2025

Description

I found that during the chat conversation, the file information of the selected code was put in the code block and sent to the model together, making the model mistakenly think that the selected code information was also belongs code.
Therefore, the return value of the model will also contain the selection code information.
image

[ What changed? Feel free to be brief. ]

Before

image

After:

image

Checklist

  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screenshots

[ For visual changes, include screenshots. ]

Testing instructions

[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change, including any relevant tests to run. ]

Copy link

netlify bot commented Feb 21, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 4d2117a
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67b89b45e818d10008b90d29

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