Xinnil
d1dcf1311d
Review models Integration ( #200 )
...
* Update review.nu
Update model to preavoid depreciation
* Update refs
* Update payload in review
* Update the cr help
2026-05-07 20:57:52 +08:00
Justin Ma
a4d125ecba
deps: Upgrade Nu to v0.106 ( #186 )
2025-07-24 20:01:49 +08:00
Justin Ma
981ef03409
feat: Set defalut temperature to 0.3 for code review ( #181 )
2025-04-29 17:09:53 +08:00
Justin Ma
985f205ae5
chore: Refine diff flag descriptions in docs and scripts ( #177 )
2025-04-18 11:06:46 +08:00
Justin Ma
0298773233
feat: Add write code review result to file support ( #172 )
...
* feat: Add write code review result to file support
* feat: Add write code review result to file support
* feat: Add write code review result to file support
* feat: Add write code review result to file support
2025-04-11 11:39:47 +08:00
Justin Ma
443d1d887e
feat: Add openrouter deepseek model support ( #167 )
...
* feat: Add openrouter deepseek V3 model support
* feat: Add openrouter deepseek R1 model support
* feat: Add openrouter deepseek model support for GitHub action
* feat: Add openrouter deepseek model support for GitHub action
* feat: Add openrouter deepseek model support for GitHub action
2025-04-03 18:05:46 +08:00
Justin Ma
90d7be5ff2
refactor: Replace custom kv.nu module with std-rfc/kv for key-value functionality ( #166 )
...
* refactor: Replace custom `kv.nu` module with `std-rfc/kv` for key-value functionality
* refactor: Replace custom `kv.nu` module with `std-rfc/kv` for key-value functionality
* ci skip
2025-04-02 20:11:14 +08:00
Justin Ma
9af6f3d480
refactor: Refactored diff handling by moving logic to separate module ( #165 )
...
* refactor: Refactored diff handling by moving logic to separate module
* refactor: Refactored diff handling by moving logic to separate module
* Fix tests
* Fix tests
2025-04-02 19:54:45 +08:00
Justin Ma
abe4d66650
refactor: Refactor get-diff custom command ( #164 )
2025-04-02 18:20:14 +08:00
Justin Ma
98510dd05d
feat: Add repo of current directory code review support ( #161 )
...
* feat: Add repo of current directory code review support
* ci skip
2025-03-23 11:37:51 +08:00
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
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
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
2025-02-16 18:35:54 +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
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
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
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
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
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
Justin Ma
4249b38d5b
Test DeepSeek R1 model ( #108 )
...
* Test DeepSeek R1 model
* ci skip
* ci skip
2025-02-12 12:01:48 +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
Justin Ma
22e7b71776
feat: Add support for configurable temperature parameter in DeepSeek model setup ( #93 )
...
* feat: Add support for configurable temperature parameter in DeepSeek model setup
* chore: Add temperature validation
2025-02-10 16:41:22 +08:00
Justin Ma
b19e2097cc
fix: Add awk binary missing check ( #92 )
2025-02-10 15:28:08 +08:00
Justin Ma
699ebd30f0
feat: Add version validation for awk/gawk and implement robust semantic version comparison for compatibility checks ( #91 )
...
feat: Add version validation for awk/gawk and implement robust semantic version comparison for compatibility checks (#91 ), fixes #85
2025-02-10 11:54:47 +08:00
Justin Ma
a12b9c6fdd
fix: Add check for empty DeepSeek review response with error handling ( #90 )
2025-02-10 10:29:05 +08:00
hustcer
c17a3836e8
ci skip
2025-02-08 21:55:52 +08:00
Justin Ma
2ab221a624
feat: Remove the dependency on just for local code review ( #84 )
...
* feat: Remove the dependency on just for local code review
* chore: Try to fix post comments
2025-02-08 11:54:56 +08:00
Justin Ma
cc5bb6bb4c
refactor: Improve prompts loading helper ( #82 )
2025-02-08 10:06:25 +08:00
Justin Ma
9fce8f6d22
feat: Read CHAT_MODEL and BASE_URL from .env for local code review ( #80 )
...
* feat: Read CHAT_MODEL and BASE_URL from .env for local code review
* feat: Read CHAT_MODEL and BASE_URL from .env for local code review
2025-02-07 18:45:54 +08:00
Justin Ma
bb17f50cc2
chore: Remove the dependency on gh ( #78 )
2025-02-07 18:30:21 +08:00
hustcer
03903b7a36
fix typos
2025-02-01 22:16:18 +08:00
Justin Ma
1c83969b7b
fix: Fix awk error on macOS runner ( #71 )
2025-02-01 18:58:00 +08:00
hustcer
0000000089
ci skip
2025-02-01 15:10:36 +08:00
Justin Ma
eba892d969
feat: Add include and exclude for file pattern filter support ( #68 )
...
* feat: Add awk regex generator custom commands
* feat: Add include and exlude for file pattern filter support
2025-02-01 14:46:30 +08:00
Justin Ma
f781a7d0a9
feat: Load multi-line prompts from yaml config for local code review ( #67 )
2025-02-01 10:12:44 +08:00