Commit Graph

793 Commits

Author SHA1 Message Date
Mike Wu
c0d3afe0a4 feat: allow overriding img_paste options (#1827) 2025-04-08 10:46:20 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
doodleEsc
1c36cfc812 fix: enhance web search functionality with proxy support (#1823)
* fix: enhance web search functionality with proxy support

- Remove unnecessary blank line in README.md
- Add missing closing details tag in both README.md and README_zh.md
- Add proxy support to the web search engine configuration in config.lua
- Ensure the web search function uses the proxy setting when available in init.lua
- Fix a potential nil access in the response body format check in config.lua

Signed-off-by: 范立洲 <fanlizhou@yunqilaohe.com>

* [pre-commit.ci lite] apply automatic fixes

---------

Signed-off-by: 范立洲 <fanlizhou@yunqilaohe.com>
Co-authored-by: 范立洲 <fanlizhou@yunqilaohe.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-07 15:05:22 +08:00
Jae-Won Chung
40ffc0f5fa Use vim.hl if available (#1809) 2025-04-07 15:04:37 +08:00
PSeitz
1e2e233ff5 fix max_tokens for reasoning models (#1819) 2025-04-07 13:55:40 +08:00
yetone
89a86f0fc1 fix: search engine did not return correctly (#1801) 2025-04-02 20:32:58 +08:00
yetone
0828d32346 fix: AvanteEdit command (#1799) 2025-04-02 16:27:10 +08:00
yetone
06757e8bf5 fix: dispatch agent missing tool histories (#1794) 2025-04-01 23:29:51 +08:00
yetone
46073c0efd feat: aihubmix (#1780)
* feat: aihubmix

* feat: add chinese readme
2025-03-31 18:58:41 +08:00
yetone
cda98593f9 feat: auto write (#1779) 2025-03-31 18:22:01 +08:00
K
25b3956b80 fix(wsl): wsl should prefer the defined shell instead of powershell.exe (#1766) 2025-03-30 12:54:40 +08:00
adasauce
484e473a5a fix: update gemini max_tokens and use 2.0 model (#1767)
docs ref for max output tokens:
https://ai.google.dev/gemini-api/docs/models#gemini-2.0-flash

Token limits[*]

Input token limit
1,048,576

Output token limit
8,192
2025-03-30 12:53:41 +08:00
yetone
76fd19812e feat: accept all (#1764) 2025-03-30 12:51:15 +08:00
kronion
edf02a7d1f fix: correct max_tokens for Claude 3.5 Haiku (#1761)
Co-authored-by: Collin Stedman <2781682+kronion@users.noreply.github.com>
2025-03-29 18:44:35 +08:00
yetone
d698dbe17a fix: badcase in gpt-4o (#1757) 2025-03-28 12:57:49 +08:00
kyrisu
78d6c389b4 feat: add command to include all buffer files in file selector (#1748) 2025-03-28 10:24:49 +08:00
yetone
b6000d5bbc fix: selectively enable text editor tool (#1747) 2025-03-28 00:31:57 +08:00
yetone
65d6ffa917 fix: check if nui exists (#1746) 2025-03-28 00:23:29 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
kyrisu
cfc5a78813 fix: buffer selection logic to include all listed buffers (#1742) 2025-03-27 23:15:14 +08:00
yetone
cd13eeb7d9 fix: revert max_completion_tokens to max_tokens (#1741) 2025-03-27 16:53:55 +08:00
yetone
a06bb97db6 fix: close the hint win when the input win is closed (#1734) 2025-03-26 22:20:39 +08:00
guanghechen
0b4a493d60 improve: support to customize the keymaps for cancelling the editing (#1730)
* improve: support to customize the keymaps for cancelling the editing

* docs: update README
2025-03-26 21:58:03 +08:00
guanghechen
2d4ea5d5d6 fix(history_selector): the item.title could exist lineending, which will cause the vim.ui.select crash (#1733) 2025-03-26 21:57:01 +08:00
yetone
6430d61f0a fix: parent dir not exists when write a file (#1732) 2025-03-26 21:24:54 +08:00
yetone
31f9519912 fix: summarize memory failed (#1731) 2025-03-26 21:21:27 +08:00
yetone
b41556ee21 feat: extract text editor tools (#1726) 2025-03-26 17:59:59 +08:00
yetone
340d298c47 fix: dispatch agent (#1725) 2025-03-26 15:27:07 +08:00
yetone
4c2dd777d6 fix: copilot tool description cannot use long text (#1722) 2025-03-26 14:47:51 +08:00
yetone
39787969c7 fix: memory (#1718) 2025-03-26 00:45:54 +08:00
yetone
d82eb8534e fix: prompts (#1715) 2025-03-25 23:16:03 +08:00
yetone
a2aec079c9 feat: extract str_replace tool (#1710) 2025-03-25 18:43:57 +08:00
yetone
8c4244b940 fix: decrease history max tokens (#1709) 2025-03-25 16:07:45 +08:00
isvicy
6443f1dc5e feat: more robust sse content regex (#1707)
Co-authored-by: yangkai <yangkai@msh.team>
2025-03-25 15:56:33 +08:00
yetone
f84cb2896d fix: prohibit repeated reading of the file (#1708) 2025-03-25 15:54:47 +08:00
yetone
976fb4177c fix: refine tools (#1706)
* fix: refine tools

* fix: missing break line

* fix: view a in-context file

* fix: remove create_file tests
2025-03-25 11:17:48 +08:00
Micah Halter
3a75b7d36f refactor: utilize Utils.get_hl to minimize duplicate code (#1701) 2025-03-25 10:38:23 +08:00
yetone
25e9b1c111 fix: copilot's openai tool description cannot use long text (#1700) 2025-03-24 19:54:06 +08:00
Tobias Mersmann
e20a3ff111 fix(diagnostics): add vim.diagnostic.severity.INFO to diagnostics context (#1696) 2025-03-24 18:20:04 +08:00
yetone
5e0cc39210 fix: special handling wehn vim diff count_a is 0 (#1698) 2025-03-24 18:19:17 +08:00
yetone
e33d648d71 fix: special handling wehn vim diff count_a is 0 (#1697) 2025-03-24 17:56:10 +08:00
yetone
642020ff2d fix: selected code container winhighlight (#1695) 2025-03-24 16:59:08 +08:00
yetone
cf230f4bc8 fix: setup highlights (#1694) 2025-03-24 16:51:09 +08:00
Micah Halter
46be28c357 fix: make sure to get the final highlight values rather than link names (#1682)
* fix: make sure to get the final highlight values rather than link names

* fix: update other `nvim_get_hl` calls to use `link = false`

* fix: more link = false

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-24 15:42:44 +08:00
yetone
2c63dfea16 fix: special handling wehn vim diff count_a is 0 (#1692) 2025-03-24 15:41:20 +08:00
yetone
94fc0bd76c fix: special handling wehn vim diff count_a is 0 (#1691) 2025-03-24 15:21:00 +08:00
yetone
49ae3c84fd feat: add view_range parameter and remove read_file llm tool (#1690) 2025-03-24 15:07:14 +08:00
yetone
4749e4ea1a fix: filter out create_file tool in claude provider (#1677) 2025-03-22 22:24:29 +08:00
yetone
cc966194d0 refactor: llm tools (#1675) 2025-03-22 17:13:42 +08:00
yetone
b59cbf4392 feat: upgrade rag service image version (#1673) 2025-03-22 14:38:28 +08:00