zhangkun9038@dingtalk.com
15834922c4
merge from upstream
2025-02-17 16:30:34 +08:00
b6ae4dfe7f
fix: use absolute paths to handle gitignore
...
Co-authored-by: zhangkun9038@dingtalk.com <zhangkun9038@dingtalk.com>
2025-02-17 12:56:09 +08:00
8uff3r
f70eb1040c
fix(providers/openai): check for vim.NIl on tool_calls ( #1283 )
2025-02-17 12:54:58 +08:00
kyrisu
6fd82f24dd
fix: correct typo in answer field name in tavily format_response_body function ( #1287 )
2025-02-17 12:53:15 +08:00
Enes Kutay SEZEN
0a146dc63a
docs: add reasoning_effort docs ( #1286 )
2025-02-17 12:52:22 +08:00
yetone
7fa7b0fa3b
feat: support searchapi ( #1284 )
2025-02-17 00:36:00 +08:00
zhangkun9038@dingtalk.com
954709ef3f
try
2025-02-15 18:50:20 +08:00
zhangkun9038@dingtalk.com
f7205c3e5a
show provider selector
2025-02-14 18:31:39 +08:00
zhangkun9038@dingtalk.com
1ce3efbfe6
show provider selector
2025-02-14 12:42:51 +08:00
yetone
c60dc6c316
fix: case insensitive ( #1275 )
2025-02-14 12:28:39 +08:00
zhangkun9038@dingtalk.com
c8460ca574
remove logs
2025-02-14 00:17:02 +08:00
Hanchin Hsieh
1a4f2575d6
fix(utils): get non-nil filetype
2025-02-13 16:58:35 +08:00
zhangkun9038@dingtalk.com
2086f7d9bc
response to log
2025-02-13 13:56:42 +08:00
zhangkun9038@dingtalk.com
0e142811f4
response to log
2025-02-13 13:44:24 +08:00
yetone
25111c6df3
fix: incorrect minimize snippets ( #1265 )
2025-02-13 13:39:24 +08:00
yetone
763dbe064d
fix: line content ( #1264 )
2025-02-13 13:23:28 +08:00
yetone
76c06ed277
fix: tools return json ( #1263 )
2025-02-13 11:54:54 +08:00
zhangkun9038@dingtalk.com
481bed92cd
baid appid remove hardcode
2025-02-13 11:12:02 +08:00
zhangkun9038@dingtalk.com
3e94b5bd0c
baid appid remove hardcode
2025-02-13 11:05:07 +08:00
1be1c2bbbd
up
2025-02-13 03:21:29 +08:00
545a8419a7
参数化百度 appid
2025-02-13 02:56:36 +08:00
yetone
ce55d7ac9e
refactor: better value name ( #1261 )
2025-02-13 01:39:02 +08:00
zhangkun9038@dingtalk.com
79ded43408
add baidu
2025-02-13 00:41:25 +08:00
zhangkun9038@dingtalk.com
7daed04ff5
add baidu
2025-02-13 00:04:19 +08:00
zhangkun9038@dingtalk.com
71ac22a864
add baidu
2025-02-12 23:47:03 +08:00
yetone
9bad591e8a
fix: lowercase filepath bad case ( #1259 )
2025-02-12 22:59:15 +08:00
zhangkun9038@dingtalk.com
ab9127fcbc
remove baidu
2025-02-12 22:38:55 +08:00
yetone
f8636315a5
fix: get filetype ( #1258 )
2025-02-12 22:19:55 +08:00
yetone
3a7277386f
fix: mkdir for new file ( #1257 )
2025-02-12 22:02:12 +08:00
yetone
c89741e98b
fix: base prompts ( #1255 )
2025-02-12 21:46:11 +08:00
yetone
456f7ccdab
fix: search/replace tag bad cases ( #1248 )
2025-02-11 23:49:37 +08:00
yetone
72edea97cb
optimize: prompts ( #1247 )
2025-02-11 23:11:03 +08:00
Thomas Müller
f660350cdc
fix(tavily): remove time restriction of 1 day ( #1241 )
2025-02-11 15:57:38 +08:00
guanghechen
31c1701660
📝 docs(README): update customized file_selector example ( #1242 )
...
* 📝 docs(README): update customized file_selector example
* fix types
2025-02-11 15:57:15 +08:00
yetone
b73b3d7888
fix: file not found ( #1243 )
2025-02-11 15:54:57 +08:00
guanghechen
6d116fac36
feat(file_selector): support customized file selector method ( #1204 )
2025-02-11 13:49:00 +08:00
synic
0bfbd39ebc
fix(sidebar): fix various focus errors ( #1237 )
...
This fixes a bunch of errors I was getting when switching away from the
avante sidebar and then back. Sometimes the sidebar would lose track of
the various windows, and you'd get errors like this:
```
|| stack traceback:
|| ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2350: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2349>
|| Error detected while processing BufLeave Autocommands for "<buffer=294>":
|| Error executing lua callback: ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2398: attempt to index field 'selected_files_container' (a nil value)
```
Or this one:
```
|| stack traceback:
|| ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2350: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2349>
|| Error detected while processing BufLeave Autocommands for "<buffer=294>":
|| Error executing lua callback: ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2398: attempt to index field 'selected_files_container' (a nil value)
```
This change does the following:
1. Proper order of cleanup in `reset()`
2. Proper cleanup in `create_selected_files_container()`
2025-02-11 13:42:23 +08:00
yetone
62c29b3d0c
fix: incorrect replace end tag ( #1240 )
2025-02-11 12:11:16 +08:00
Thomas Müller
3f8b6d07ba
feat(sidebar): add member function to check whether the sidebar is focused ( #1216 )
2025-02-11 11:36:38 +08:00
Thomas Müller
a6ae8ad4b7
fix(sidebar): reset cursor to beginning of prompt on submit ( #1213 )
...
This fix is required for users with vim.o.virtualedit="all". Otherwise,
the cursor remains at the end of the prompt and has to be manually moved
back before entering the next prompt.
2025-02-11 11:36:19 +08:00
Thomas Müller
8d82abe043
feat: expose whether the llm is currently generating content ( #1181 )
2025-02-11 11:35:28 +08:00
zhangkun9038@dingtalk.com
4d9201bbea
up
2025-02-11 11:01:16 +08:00
zhangkun9038@dingtalk.com
58375d45c3
up
2025-02-11 10:32:29 +08:00
Thomas Müller
63136fd92f
fix(suggestions): make history more faithful to future input ( #1210 )
...
* fix(suggestions): make history more faithful to future input
* fix(suggestions): put cursor to the end of line in suggestion history
2025-02-11 02:08:58 +08:00
zhangkun9038@dingtalk.com
8472880c89
revert config.lua
2025-02-11 02:01:49 +08:00
zhangkun9038@dingtalk.com
47e23787e5
custome
2025-02-11 01:46:29 +08:00
Oliver Lorton
cc46386130
fix: when dev icons absent ( #1214 )
...
* Add helper function to check for dev icon availability
* Add function to display dev icon or nothing if icon plugins unavailable
* Fix existing use of icons
* Reformat with stylua
2025-02-11 01:43:01 +08:00
Omar Crespo
6e18616c16
fix: dual boost only in planning mode ( #1215 )
2025-02-11 01:40:49 +08:00
Amin Roosta
c07d396e30
feat(web_search_engine): adds google as a provider ( #1226 )
2025-02-10 13:21:55 +08:00
zhangkun9038@dingtalk.com
56cf5b5bee
try add baidu
2025-02-10 11:58:06 +08:00