- Introduce configurable
starhugger-completion-backend-function
and Ollama support. - Rename
starhugger-additional-data-alist
tostarhugger-hugging-face-additional-data-alist
,starhugger-model-api-endpoint-url
tostarhugger-hugging-face-api-url
,starhugger-api-token
tostarhugger-hugging-face-api-token
(to distinguish with newly added Ollama options). - Add
request
package as dependency. - New customizable variables:
starhugger-ollama-generate-api-url
,starhugger-ollama-additional-parameter-alist
,starhugger-completion-backend-function
. - New commands:
starhugger-cancel-all-requests-globally
.
- Bug fixes.
- Support
codellama/CodeLlama-13b-hf
. - Make
starhugger-stop-token
obsolete in favor ofstarhugger-stop-tokens
.
- Add
starhugger-goto-suggestion
- Remove both
starhugger-number-of-suggestions-to-fetch-interactively
andstarhugger-number-of-suggestions-to-fetch-automatically
in favor ofstarhugger-numbers-of-suggestions-to-fetch
which is a list of numbers. - Remove
starhugger-complete
,starhugger-complete*
,starhugger-query
. - Introduce
starhugger-send
.
- Introduce
starhugger-enable-dumb-grep-context
.
- Remove
starhugger-toggle-debug
.
- Remove
starhugger-hexify-request-data
. - Support
starhugger-api-token
being a function.
- Auto mode: also trigger on deletions, but show cached only; now always dismiss on deletions, but thanks to cache no request are made when re-inserting.
- Deprecate
starhugger-at-suggestion-map
in favor ofstarhugger-inline-menu-item
. - Rename
starhugger-suggestion-face
tostarhugger-inline-suggestion-face
,starhugger-active-suggestion-mode
tostarhugger-inlining-mode
.
- Introduce
starhugger-trim-spaces-around-prompt
. - Rename
starhugger-suggestion-beg-map
tostarhugger-at-suggestion-map
.
- Rename
starhugger-toggle-debugging
->starhugger-toggle-debug
. - Rename
starhugger-high-number-of-suggestions-to-fetch
->starhugger-number-of-suggestions-to-fetch-interactively
,starhugger-low-number-of-suggestions-to-fetch
->starhugger-number-of-suggestions-to-fetch-non-automatically
.
- Support fill in the middle mode.
- Rename
starhugger-end-token
->starhugger-stop-token
,starhugger-strip-end-token
->starhugger-chop-stop-token
; like https://github.com/huggingface/huggingface-vscode.
- Introduce
starhugger-suggestion-beg-map
. - Introduce
starhugger-auto-dismiss-when-move-out
, enables by default.