1
0
mirror of https://github.com/hustcer/deepseek-review.git synced 2026-05-13 05:16:05 +08:00

176 Commits

Author SHA1 Message Date
Justin Ma
3ea2007572 feat: Support local DeepSee model running on Ollama (#152)
* feat: Support local DeepSee modle running on Ollama

* feat: Support local DeepSee modle running on Ollama

* feat: Support local DeepSee modle running on Ollama
2025-03-01 15:37:56 +08:00
Justin Ma
fa7541f78e refactor: Enhance the glob pattern handling in glob-to-regex function (#151) 2025-02-28 19:17:52 +08:00
Justin Ma
7f5575257d refactor: Simplify is-safe-git common util (#150)
* refactor: Simplify is-safe-git common util

* ci skip

* ci skip

* ci skip
2025-02-28 18:32:06 +08:00
Justin Ma
d53983d8ee chore: Some code refactor (#149) 2025-02-28 17:59:14 +08:00
hustcer
991d9e8de3 chore: Use SiliconFlow's DeepSeek API 2025-02-28 17:55:28 +08:00
Justin Ma
ff5bb86a59 feat: Add --config option to specify config file path for local code review (#146)
* feat: Add --config option to specify config file path for local code review

* feat: Add --config option to specify config file path for local code review
2025-02-21 18:24:34 +08:00
hustcer
daecd2734c Fix prompts template 2025-02-18 16:38:53 +08:00
hustcer
95ca66de3e Fix tests 2025-02-18 15:32:02 +08:00
Justin Ma
eb198fae3d feat: Add nushell version check and notify for update (#144)
* feat: Add nushell version check and notify for update

* feat: Add nushell version check and notify for update

* ci skip

* ci skip
2025-02-18 15:25:44 +08:00
Justin Ma
5ebbddb801 feat: Post a comment to the PR to notify the user when no CHAT_TOKEN is provided (#143) 2025-02-18 11:21:14 +08:00
Justin Ma
9901bcbeb1 chore: Update code review prompt for current nushell repo (#139) 2025-02-17 18:19:34 +08:00
Justin Ma
4e787e2430 feat: Add example code review prompts for frontend, java and rust to config.example.yml (#138)
* feat: Add sample code review prompts for frontend, java and rust to config.example.yml

* ci skip
2025-02-17 18:13:23 +08:00
Justin Ma
8e91c18ef8 Add two more tests (#135)
* Add two more tests

* Add two more tests

* Add two more tests

* Add two more tests
2025-02-17 12:11:47 +08:00
hustcer
55958cd4a9 chore: Update tests status badge to README 2025-02-16 21:37:50 +08:00
hustcer
88ea2aed5e chore: Publish test summary (#133) 2025-02-16 21:08:20 +08:00
hustcer
683ed811c6 fix: Add get-diff test for applying exclude and include simultaneously v1.12 2025-02-16 18:35:54 +08:00
hustcer
c3ec0285c3 Bump to v1.12 2025-02-16 18:22:58 +08:00
Justin Ma
b0ae06217d chore: Fix gawk installation for GitHub Windows runners (#132)
* chore: Fix gawk installation for Windows runners

* chore: Fix gawk installation for Windows runners

* chore: Fix gawk installation for Windows runners

* chore: Fix gawk installation for Windows runners

* chore: Fix gawk installation for Windows runners
2025-02-16 18:07:14 +08:00
Justin Ma
9551fc2dec fix: Fix include and exclude on GitHub Windows runners and related tests (#131)
* fix: Fix include and exclude on GitHub Windows runners and related tests

* ci skip

* ci skip

* ci skip

* ci skip

* ci skip

* chore: Add scoop shims path to front

* chore: Add scoop shims path to front

* chore: Add scoop shims path to front
2025-02-16 16:16:59 +08:00
hustcer
9272a75907 chore: Add ubuntu-22.04-arm to test matrix 2025-02-16 13:30:52 +08:00
hustcer
55a5d76958 chore: Disable posting test results 2025-02-16 13:26:35 +08:00
hustcer
1260c388b9 chore: Add tests for get-diff command in review module 2025-02-16 13:24:34 +08:00
Justin Ma
0088fe059a chore: Add review related tests (#129)
* Update tests

* chore: Add review related tests

* chore: Add review related tests

* chore: Add review related tests

* chore: Add review related tests

* chore: Add review related tests

* chore: Add review related tests
2025-02-15 15:53:39 +08:00
Justin Ma
3ff7a32e6d chore: Add more tests for common helpers (#128)
* Update tests

* Update tests

* Update tests

* Update tests

* Update tests

* Update tests
2025-02-15 14:12:48 +08:00
hustcer
0088530d17 chore: Publish Test Results (#127) 2025-02-15 11:13:59 +08:00
Justin Ma
93a5d817e7 doc: Update README (#126) 2025-02-15 10:41:05 +08:00
hustcer
17ab7ae3fa chore: Try to add tests workflow and some common tests (#125) 2025-02-14 23:50:46 +08:00
Justin Ma
2b2cb85fd8 feat: Use config.yml instead of .env as the local code review config file (#123)
* feat: Use config.yml instead of .env as the local code review config file

* refactor common helpers

* Remove .env.example

* fix model override

* fix: Fix Remote PR review

* Check if the prompt config keys exist

* ci skip

* ci skip

* fix model validation

* fix model validation

* chore: Update readme

* chore: Increase max length for cr.yml

* Update doc
2025-02-14 22:09:15 +08:00
hustcer
00806171f7 chore: Increase max length for cr.yml 2025-02-14 19:31:11 +08:00
hustcer
f3ea289921 Bump to v1.11 v1.11 2025-02-13 19:48:21 +08:00
Justin Ma
4af2f6036b fix: Fix include & exclude pattern matching error (#122)
* fix: Fix include & exclude pattern matching error

* ci skip

* code refactor
2025-02-13 19:44:43 +08:00
hustcer
3dd6b23201 fix: Fix reasoning_content field may not exists error 2025-02-13 15:45:09 +08:00
Justin Ma
c2b26fdc30 fix: Do not show reasoning parts if reviewed by V3 model (#121) 2025-02-13 15:29:10 +08:00
hustcer
06d80785b1 Bump to v1.10 v1.10 2025-02-12 23:30:23 +08:00
Justin Ma
84dbd263c9 fix: Improve error handling for API response in streaming-output (#117)
* fix: Improve error handling for API response in streaming-output

* Fix token error

* Fix error
2025-02-12 23:24:43 +08:00
hustcer
c0d78b92b9 feat: Separate the reasoning and the content part in the output of DeepSeek (#115) 2025-02-12 19:30:26 +08:00
hustcer
5652f31856 perf: Save the last reply of the model in memory instead of a file (#113) 2025-02-12 18:26:40 +08:00
hustcer
68e582fb95 Update README 2025-02-12 17:40:54 +08:00
Justin Ma
534d6230b7 chore: Refine DeepSeek review output, clarify debug logs, and adjust error messaging for better context (#111) 2025-02-12 14:26:39 +08:00
Justin Ma
6af37c1d98 chore: Make awk version check for both awk and gawk (#109) 2025-02-12 12:21:03 +08:00
hustcer
9b1a390493 Bump to v1.9 v1.9 2025-02-12 12:04:57 +08:00
Justin Ma
4249b38d5b Test DeepSeek R1 model (#108)
* Test DeepSeek R1 model

* ci skip

* ci skip
2025-02-12 12:01:48 +08:00
hustcer
12e1537975 Try using Infinigence's DeepSeek Model 2025-02-12 11:52:53 +08:00
hustcer
fd3a97c3b6 Test DeepSeek-R1 model 2025-02-12 09:33:23 +08:00
Justin Ma
d84f126292 feat: Add DeepSeek R1 model support (#107)
* Try to add R1 support

* fix: Fix reasoning model output
2025-02-12 09:29:53 +08:00
Justin Ma
8dde3bd95f feat: Add support for custom patch commands in local code review (#106)
* feat: Add `is_safe_git` to validate git commands for safety in shell

* feat: Add support for custom patch commands in local code review

* Update docs
2025-02-11 17:06:49 +08:00
Justin Ma
2288595e98 feat: Add streaming output support for local code review (#103) 2025-02-11 14:11:23 +08:00
Justin Ma
d064f64443 fix: Fix no repo column error for local code review (#102) 2025-02-11 13:10:04 +08:00
hustcer
c3d18ccb03 doc: Update README 2025-02-10 18:19:27 +08:00
hustcer
2393375400 Bump to v1.8 v1.8 2025-02-10 16:54:30 +08:00