-
Notifications
You must be signed in to change notification settings - Fork 46
feat: Sourcegraph Amp module #257
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
base: main
Are you sure you want to change the base?
Conversation
This PR is not ready for review because I’m facing an error, which I’ve fully described on Discord. I’d really appreciate it if you could help me solve it. https://discord.com/channels/747933592273027093/1143265221545316445/1398733269096337478 |
…y into sourcegraph-amp-module
@hugodutka @matifali @bpmct @DevelopmentCats |
@hugodutka @matifali @bpmct @DevelopmentCats |
hey @Harsh9485, I haven't reviewed the PR yet, but before I do - agentapi does not officially support Sourcegraph AMP yet. It might just work out of the box, but we'd need to add Sourcegraph AMP-specific tests to https://github.com/coder/agentapi before merging this PR. Here's how to add them: coder/agentapi#32 (review) |
Ah, so you’re saying I should be the one to add the tests? 😅 |
Hey @hugodutka, I reviewed the PR and understood what the tests are meant for. They make sense for Gemini since it has a lot of repetitive text, but in the case of AMP, it uses a simpler design and doesn’t have repetitive text patterns that match the test structure. @bpmct mentioned modifying coder/agentAPI if needed to support Sourcegraph AMP. ![]() |
@Harsh9485 we do need the tests, the sourcegraph-amp agent type in agentapi, and a README update to mention it's supported. It should be a straightforward PR. |
Okay @hugodutka, just give me a few hours, and I’ll open a PR shortly. |
@Harsh9485 I read through the PR briefly, nice work. All of our agent modules have support for the task prompt and system prompt parameters - we'd need them for AMP too. I'll do a full review once we have them. |
@hugodutka, honestly, I don’t fully understand the use of the system prompt, but I referenced the Goose module and added support for it. If I made any mistakes, please let me know. |
Also you need to run |
@hugodutka @matifali @DevelopmentCats I ran all the tests and they passed! ![]() |
@Harsh9485 you need to add a profile readme in |
Done! |
@matifali @hugodutka, let’s finish it today. |
Thanks for the review, @DevelopmentCats . I’ve pushed the suggested changes. |
@hugodutka @DevelopmentCats @matifali Any suggestions for changes? |
I'm going to pull this locally and test one last time this morning. @Harsh9485 can we put this under the coder-labs contributor instead of yours? We hope to support co-authoring so it can show up as both, but I want to associate the agent modules with the Coder name as we will ship updates/patches to them and there is no expectation for you to always do that :) |
@Harsh9485, can you move the module to the |
Power's out at my place, I'll do this when it's back |
When I move module to coder-labs, should I just keep my username folder where it is? |
@matifali @DevelopmentCats, I moved the module into coder-labs. Can you check? |
You just need to remove the namespace stuff since it is moved to coder-labs now. |
@DevelopmentCats I have removed all old references. |
I still see the files in the PR im not sure they actually got removed |
You mean the harsh9485 directory? Do you want me to remove this directory? |
Closes #238
/claim #238
Description
Video - https://www.loom.com/share/59e80a7fa3e54973bb0318132bc849a7?sid=4900077a-6fdb-4760-978c-9ad2e2daa9d8
Type of Change
Module Information
Path:
registry/harsh9485]/modules/sourcegraph_amp
New version:
v1.0.0
Breaking change: [ ] Yes [x] No
Testing & Validation
bun test
)bun run fmt
)Related Issues