-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: support deepseek-coder LLM #638
feat: support deepseek-coder LLM #638
Conversation
Hi thanks for your contribution:
|
76d5cdf
to
8941058
Compare
Hi @ofirpress , Thanks for your feedback!
I hope this clarifies my intent. Open to any further suggestions! |
…ment variables (DEEPSEEK_API_KEY and DEEPSEEK_API_BASE_URL) configure "coder" as shortcut
…fg, keys.project.cfg, keys.cfg won't be tracked)
8941058
to
8067a4b
Compare
I just dropped the justfile to avoid any confusion ^^ |
Thanks for opening the PR. I'll take a look at this in the next few days |
Hi @klieret, I don't have access to the "Allow edits from maintainers" checkbox for this PR, likely because the changes are from a forked repo. However, I’ve invited you to the forked repo and granted full access. You can push your refactor to the support-deepseek-coder-LLM branch on umans-tech/SWE-crafter, and we'll see the changes in this PR. Thanks! |
2e4d05c
to
ff4bf5e
Compare
@jcraftsman Thanks! Could you check if it works with the last commit I've just pushed. After you give your OK, I'm happy to merge it :) |
@klieret I really like your refactor, and everything continues to work perfectly. Thanks a lot! 🙂 |
Thanks again for the PR! :) |
* feat: support deepseek-coder LLM * feat: add support deepseek-coder LLM: use separate prefix for environment variables (DEEPSEEK_API_KEY and DEEPSEEK_API_BASE_URL) configure "coder" as shortcut * build: ignore all keys*.cfg files (e.g. keys.pro.cfg, keys.personal.cfg, keys.project.cfg, keys.cfg won't be tracked) * feat: support deepseek-coder LLM (let it fail when DEEPSEEK_API_BASE_URL is missing) * Factor out DeepSeekModel * Remove deepseek-coder from openai model shortcuts --------- Co-authored-by: Kilian Lieret <[email protected]>
Reference Issues/PRs
Fixes #637
What does this implement/fix?
In this PR, I implemented the changes suggested in issue #637, which involves adding support for DeepSeek Coder as a model option in SWE-agent. The following modifications were made:
Added a justfile: This file includes helpful commands for starting the server, frontend, and switching between DeepSeek and OpenAI APIs.(EDIT: I reverted back this change. justfile was not introduced in this PR)I tested these changes and it seems that DeepSeek Coder works seamlessly with existing SWE-agent functionalities.
I hope you find this small change useful. I'm available if you have any questions, and I really enjoy the work you’re doing with this project.
Thanks!