Skip to content

reducing ai context to imported files #6199

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

Closed
wants to merge 5 commits into from
Closed

Conversation

STetsing
Copy link
Collaborator

@STetsing STetsing commented Jul 22, 2025

Only merge after #6164

Testing steps
Investigate code completion request payload with copilot activated

  • On current live
    • open the network tab, do some coding and select the code completion/inserrtion request
    • add 1 or 2 different local files with contextual content
    • DO NOT import the local files in the current file in edit
  • On this PR
    • Do some coding and check the logs
    • make sure at least 1 local file (not a library) is imported in the current file being edited
    • Only imported locales files are use to extend the prompt

At the end this PR will lower the request payload size significantly. Ideal test both case with the same inputs

@STetsing STetsing added the WIP label Jul 22, 2025
Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 8d21ab8
🔍 Latest deploy log https://app.netlify.com/projects/remixproject/deploys/688b2d1e62af980008164c1a
😎 Deploy Preview https://deploy-preview-6199--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@STetsing STetsing closed this Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant