Commit Graph

782 Commits

Author SHA1 Message Date
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
yetone
18f10f520b fix: read difinitions (#1672) 2025-03-22 14:05:37 +08:00
yetone
9e28252cd0 feat: lsp tools (#1588) 2025-03-22 13:57:32 +08:00
yetone
5b48b6fb52 fix: save delete augroup (#1671) 2025-03-22 13:45:47 +08:00
yetone
b837274e0f fix: sidebar border (#1669) 2025-03-22 05:11:07 +08:00
yetone
4e839f1679 fix: use the same lang (#1668) 2025-03-22 02:54:05 +08:00
yetone
1cc81b10bf fix: startinsert in the last col (#1667) 2025-03-22 02:20:43 +08:00
yetone
1e1cd1cf78 fix: confirm ui (#1665) 2025-03-22 01:57:22 +08:00
yetone
1025d45cfa fix: result container winbar (#1664) 2025-03-22 00:48:59 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
yetone
a60a8d4701 fix: change readonly files (#1659) 2025-03-21 19:48:28 +08:00
Omar Crespo
bae5275705 feat: add stop sequence (#1652) 2025-03-21 19:34:33 +08:00