Skip to content

Commit

Permalink
feat: Update example model and git commit shortcut model.
Browse files Browse the repository at this point in the history
This commit updates the example config model used by Futago to "gemini-2.0-flash-thinking-exp".
It also updates the git commit shortcut to explicitly specify "gemini-2.0-flash-exp" as the model. This change ensures that the correct model is used for these functions.
  • Loading branch information
yukimemi committed Dec 30, 2024
1 parent e171e0f commit 2ea299c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Default is "tabnew".

```vim
let g:futago_debug = v:true
let g:futago_model = "gemini-1.5-flash-latest"
let g:futago_model = "gemini-2.0-flash-thinking-exp"
let g:futago_chat_path = '~/.cache/vim/futago/chat'
let g:futago_log_file = '~/.cache/vim/futago/log/futago.log'
let g:futago_history_db = '~/.cache/vim/futago/db/history.db'
Expand All @@ -198,7 +198,7 @@ nnoremap <Leader>fc <Cmd>call futago#start_chat({
\ ],
\ "humanPrompt": "yukimemi"
\ })<CR>
nnoremap <Leader>fg <Cmd>call futago#git_commit()<CR>
nnoremap <Leader>fg <Cmd>call futago#git_commit({ "model": "gemini-2.0-flash-exp" })<CR>
```

# License
Expand Down
4 changes: 2 additions & 2 deletions doc/futago.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Example ~

>
let g:futago_debug = v:true
let g:futago_model = "gemini-1.5-flash-latest"
let g:futago_model = "gemini-2.0-flash-thinking-exp"
let g:futago_chat_path = '~/.cache/vim/futago/chat'
let g:futago_log_file = '~/.cache/vim/futago/log/futago.log'
let g:futago_history_db = '~/.cache/vim/futago/db/history.db'
Expand All @@ -193,7 +193,7 @@ Example ~
\ ],
\ "humanPrompt": "yukimemi"
\ })<CR>
nnoremap <Leader>fg <Cmd>call futago#git_commit()<CR>
nnoremap <Leader>fg <Cmd>call futago#git_commit({ "model": "gemini-2.0-flash-exp" })<CR>
<

=============================================================================
Expand Down

0 comments on commit 2ea299c

Please sign in to comment.