150 Commits

Author SHA1 Message Date
zhangkun9038@dingtalk.com
15834922c4 merge from upstream 2025-02-17 16:30:34 +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
yetone
7fa7b0fa3b
feat: support searchapi (#1284) 2025-02-17 00:36:00 +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
zhangkun9038@dingtalk.com
481bed92cd baid appid remove hardcode 2025-02-13 11:12:02 +08:00
1be1c2bbbd up 2025-02-13 03:21:29 +08:00
545a8419a7 参数化百度 appid 2025-02-13 02:56:36 +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
zhangkun9038@dingtalk.com
ab9127fcbc remove baidu 2025-02-12 22:38:55 +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
guanghechen
6d116fac36
feat(file_selector): support customized file selector method (#1204) 2025-02-11 13:49:00 +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
Amin Roosta
c07d396e30
feat(web_search_engine): adds google as a provider (#1226) 2025-02-10 13:21:55 +08:00
zhangkun9038@dingtalk.com
676e1194b1 Reset code state to commit e70b0fa243bb8ac07cfc7892f4722e433aa996cb 2025-02-10 02:38:38 +08:00
zhangkun9038@dingtalk.com
7d021f92bb add baidu 2025-02-09 23:59:10 +08:00
zhangkun9038@dingtalk.com
07abe12f54 add request log 2025-02-09 22:17:25 +08:00
zhangkun9038@dingtalk.com
be74f25b82 support baidu bce 2025-02-09 21:42:25 +08:00
zhangkun9038@dingtalk.com
3d639b9eaf Reset code state to origin 2025-02-09 21:06:13 +08:00
zhangkun9038@dingtalk.com
3f61df6373 add baidu bce platform support 2025-02-09 01:47:25 +08:00
yetone
152d0c609c
feat: serpapi (#1198) 2025-02-06 20:10:55 +08:00
yetone
d1cc23fa54
fix: multiple tool use histories and disable tools (#1185) 2025-02-06 02:46:52 +08:00
yetone
1437f319d2
feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
ccolorado
1726d32778
fix: typo on config comment (#1161) 2025-02-04 17:06:56 +08:00
ken
43269cc07f
Feat: Add Amazon Bedrock provider (#1167) 2025-02-03 22:33:25 +08:00
yetone
ec3593aac6
Revert "fix(file_selector): make sure to flatten selected_paths if picker yie…" (#1172) 2025-02-03 22:01:15 +08:00
yetone
d1286e7bfb
feat: enable token counting (#1157) 2025-02-02 01:27:12 +08:00
Christopher Brewin
0a273c2f5d
feat(sidebar): move quit and close key mappings into config values. (#979) 2025-02-01 09:48:11 -05:00
Aaron Pham
692c168e5b
fix(file_selector): make sure to flatten selected_paths if picker yields a single string (#1153) 2025-02-01 09:46:01 -05:00
Seong Yong-ju
c5d7d542f3 feat(file_selector): add snacks picker as a file selector 2025-01-24 12:52:06 +08:00
Adam Stracener
d6b371e75f
fix(config.lua): Remove warning about using Copilot for auto_suggestions (#1125) 2025-01-24 11:34:56 +08:00
yetone
330ccb7e91
fix: not mandatory to replace the provider of the suggestion (#1121) 2025-01-23 12:15:40 +08:00
yetone
76f60794c3
fix: release the cursor when generating (#1109) 2025-01-21 00:04:48 +08:00
Adam Sherwood
e4c86e317a
feat: add File Selector Provider for mini.pick. (#1107) 2025-01-20 14:38:04 +08:00
阿楠
1660ca5c51
fix 'bug: custom vendor configuration is broken (#1089)' (#1090)
Assigning M.vendors to an empty table {} at line 267 causes the metatable set for M at line 340 to lose its effect. As a result, accessing M.vendors does not retrieve the correct vendors from the configuration but instead always accesses an empty table.
2025-01-16 16:56:57 +08:00
Austin Horstman
ea5706f52f
fix(get_provider): fix nil access table for vendors (#1074)
If calling method without setup, we need to instantiate the vendors
table so the method can properly extend the providers table into
vendors.
2025-01-15 18:40:35 +08:00
yetone
bd8afce3b0
feat: tab flow (#1077) 2025-01-14 15:39:57 +08:00
Aaron Pham
ba9f014b75
fix(auto_suggestion_provider): default to claude in copilot (#1072) 2025-01-12 00:56:21 +08:00
Ethan Howard
c3e7ba0be0
feat: respect git ignore for autosuggestions (#994) 2025-01-11 23:00:19 +08:00
Alban Kurti
225e6f9572
feat: auto focus sidebar (#982) 2025-01-09 01:40:19 +08:00
yetone
48fc35f978
fix: hide internal properties of config (#1036) 2025-01-05 18:27:23 +08:00
Christopher Brewin
e612ad7566
feat(file_selector): command for switching the file picker provider. (#958) 2024-12-17 19:29:28 +08:00
Fernando Freire
5c20cc1779
feat(context): add current buffer to selected file ctx (#941) 2024-12-13 22:57:42 +08:00
Aaron Lifton
a1da07097d
feat: allow configurable file select provider (#944)
- add file_selector config
- add providers for fzf and telescope
2024-12-13 22:55:36 +08:00
Christopher Brewin
78dd9b0a6d
feat(context): add a ui for selecting and adding files to the sidebar as context (#912)
* feat(sidebar): supports select files

chore (context) update add type annotations to context functions

chore (sidebar) remove unused notify function call

refactor (sidebar) remove setting search file to file path

chore (sidebar) remove nvim_notify debugging api call

* feat (files) allow selecting a file by string via cmp suggestion menu

* chore (context) refactor to allow context using @file with a context view

* refactor (context) refactor seletected file types as an array of path and content

* refactor (config) remove unused configuration options

* refactor (sidebar) remove unused unbild key

* refactor (context) remove unused imports

* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.

* fix (sidebar) add file context as a window that is visitable via the tab key

* refactor (file_content) remove file content as an input to llm

* feat (sidebar) support suggesting and applying code in all languages that are in the context

* feat (sidebar) configurable mapping for removing a file from the context.

* feat (context_view) configure hints for the context view for adding and deleting a file.

* feat (context) add hints for the context view.

* fix (sidebar) type when scrolling the results buffer.

* refactor (selected files) refactor llm stream to accept an array of selected file metadata

* refactor: context => selected_files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00
Will Lynas
341ecd2073
feat: minimal diff (#583)
* Add minimize_diff option and add dummy function

* fix: minimize snippets

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-21 16:16:32 +08:00