523 Commits

Author SHA1 Message Date
Michael Gendy
4502e3e1f1
feat (file_selector) Add directory selection support to file selector ()
Co-authored-by: yetone <yetoneful@gmail.com>
2025-01-30 18:24:46 +08:00
kernitus
499b7a854b chore: make azure o series models stream 2025-01-29 13:40:43 +08:00
yetone
2ead26f809 feat: thinking 🤯 2025-01-27 22:54:24 +08:00
yetone
0d48b8f8e5 fix(telescope): handle file listing in non-Git repositories 2025-01-25 01:39:09 +08:00
yetone
5b83c48fce fix: file selector handler 2025-01-24 12:52:06 +08:00
yetone
5cf70aab95 fix: lint 2025-01-24 12:52:06 +08: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 () 2025-01-24 11:34:56 +08:00
Yunlong
e849fc2c15
fix: prevent nil result_container error on buffer detach ()
Co-authored-by: yetone <yetoneful@gmail.com>
2025-01-24 11:29:11 +08:00
yetone
330ccb7e91
fix: not mandatory to replace the provider of the suggestion () 2025-01-23 12:15:40 +08:00
yetone
501a138ebc
fix: none selection in telescope () 2025-01-23 11:56:57 +08:00
Fernando Freire
eaf51492d4
fix: proper ft detection with multiple file types in context () 2025-01-22 11:59:38 +08:00
yetone
c3dd0630f1
feat: not focusing on the last line when the cursor moves () 2025-01-21 00:32:04 +08:00
yetone
76f60794c3
fix: release the cursor when generating () 2025-01-21 00:04:48 +08:00
yetone
b6d4180bb6
fix: suggestion ui () 2025-01-20 23:45:16 +08:00
Adam Sherwood
e4c86e317a
feat: add File Selector Provider for mini.pick. () 2025-01-20 14:38:04 +08:00
yetone
fdbd5ed1d8
fix: cleanup the empty suggestion () 2025-01-19 17:28:42 +08:00
Seong Yong-ju
12beaebb2a
chore(sidebar): set different filetype for the selected files buffer ()
Set different filetypes so that [edgy.nvim](https://github.com/folke/edgy.nvim)
can easily identify the result buffer and the selected files buffer.
2025-01-17 00:47:01 +08:00
yetone
da4ef9d9e9
fix: suggetion in the middle of line () 2025-01-16 21:39:11 +08:00
yetone
ac6bf35616
feat: include diagnostics in suggestion () 2025-01-16 21:29:14 +08:00
阿楠
1660ca5c51
fix 'bug: custom vendor configuration is broken ()' ()
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
yetone
81abbdb796
fix: add missing field ask for caculate_tokens () 2025-01-15 20:10:23 +08:00
Austin Horstman
ea5706f52f
fix(get_provider): fix nil access table for vendors ()
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
0df03dd213
fix: refine suggestion prompts () 2025-01-15 18:35:36 +08:00
yetone
a874c2736a
feat: refine suggestion prompts () 2025-01-15 00:52:34 +08:00
yetone
25801daea8
fix: load file content from opened buffer () 2025-01-15 00:31:24 +08:00
yetone
24cb3f8e19
fix: suggestions transfroming () 2025-01-15 00:06:49 +08:00
Theo X. Olausson
87c03bcbc1
fix: typo in suggesting.avanterules () 2025-01-14 20:41:32 +08:00
Kostiantyn Sharovarskyi
143519abae
feat: Add csharp support to repo_map () 2025-01-14 20:12:10 +08:00
yetone
bd8afce3b0
feat: tab flow () 2025-01-14 15:39:57 +08:00
Aaron Pham
ba9f014b75
fix(auto_suggestion_provider): default to claude in copilot () 2025-01-12 00:56:21 +08:00
Christopher Brewin
f401983737
feat(sidebar): support files outside of the current working directory. () 2025-01-11 23:15:13 +08:00
yetone
24641d8264
refactor: new prompts structure () 2025-01-11 23:09:55 +08:00
Ethan Howard
c3e7ba0be0
feat: respect git ignore for autosuggestions () 2025-01-11 23:00:19 +08:00
yetone
e14eb002d5
feat: add luatest () 2025-01-10 00:23:59 +08:00
Alban Kurti
225e6f9572
feat: auto focus sidebar () 2025-01-09 01:40:19 +08:00
Yang Jun
794c643033
fix: cannot apply changes if model is gemini-2.0-flash-thinking-exp-1219 () 2025-01-09 00:14:14 +08:00
yetone
a3ac0b84be
fix: seleted file is nil () 2025-01-07 14:36:31 +08:00
Herschel
6ebba1526b
feat(file_selector_fzf): Add multi select for fzf-lua file selector () 2025-01-07 14:35:24 +08:00
Yang Jun
c8ba3d36cc
feat: focus to input after /clear or /reset be execuated () 2025-01-06 16:51:35 +08:00
yetone
078e9312dc
fix: filter out redundant backticks in editing mode () 2025-01-05 21:15:21 +08:00
William Heryanto
369410bdb1
fix: Gemini not reaching end state () 2025-01-05 21:11:04 +08:00
hat0uma
0536c6e552
fix(copilot): Prioritize xdg_config for OAuth token references on Windows () 2025-01-05 20:45:25 +08:00
yetone
48fc35f978
fix: hide internal properties of config () 2025-01-05 18:27:23 +08:00
Enes Kutay SEZEN
9895ce7681
feat (file_selector): Add multi select ()
* Add multi select

* Remove comment
2025-01-05 17:23:52 +08:00
yetone
3ec847e3cb
fix(ci): lua lint () 2025-01-05 17:11:15 +08:00
f7b51730df
fix(switch_windows): add nowait to avoid pre-<Tab> keymap () 2025-01-05 13:24:03 +08:00
Larry Lv
ec5d1abf34
fix(openai): support all o series models ()
Before this change, since `max_completion_tokens` was not set for `o` series models, the completion request will time out sometimes. This makes sure it converts the `max_tokens` parameter to `max_completion_tokens` for `o` series models.

I tested this change with `gpt-4o-mini`, `o1-mini` and `o3-mini`, and they all still work as expected.
2025-01-05 13:23:33 +08:00
yetone
81e5f1937f
fix: Claude sometimes gets lazy and doesnt return the filepath () 2025-01-02 21:34:39 +08:00
yetone
a0d05544af
Revert "fix(llm): call on_complete() function at callback ()" () 2025-01-01 20:48:17 +08:00