Closed hitesh-1997 closed 3 weeks ago
‼️ Hey @sourcegraph/cody-security, please review this PR carefully as it introduces the usage of an unsafe_
function or abuses PromptString.
I'm glad to see activity in making the cli tool richer! Only a few blocking comments on naming convention, otherwise LGTM. I highly encourage experimentation like this and want there to be a low barrier to add helpers like these.
Thanks @olafurpg I added a Semaphore in the package.json for agent to limit the number of concurrent request, can you please check that once.
Meanwhile I am looking into what is causing the security issue here: https://github.com/sourcegraph/cody/pull/4754#issuecomment-2206083330
Heads up, I merged a PR today that adds a new internal
subcommand where bench
lives. This command should live there as well
This PR is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.
Context
Adding a simple cli to get the tsc compiler api context. We can specify a configuration file having filePath and line number and trigger the tsc context retriver. This would be useful to gather the context data for training and evaluation purpose.
Usages
Test plan