Compare commits
11 Commits
6eefce2d6f
...
3f4ec1b6d3
Author | SHA1 | Date | |
---|---|---|---|
3f4ec1b6d3 | |||
627099cb6f | |||
a7913347f6 | |||
81ec7c642e | |||
a98e2b416b | |||
ad0e66164f | |||
a39459c21d | |||
509e884c03 | |||
ff62296833 | |||
15a0440c62 | |||
488c0087e9 |
@ -441,8 +441,19 @@ return {
|
|||||||
reverse_switch_windows = '<S-Tab>',
|
reverse_switch_windows = '<S-Tab>',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
-- The custom_tools type supports both a list and a function that returns a list. Using a function here prevents requiring mcphub before it's loaded
|
||||||
|
custom_tools = function()
|
||||||
|
return {
|
||||||
|
require('mcphub.extensions.avante').mcp_tool(),
|
||||||
|
}
|
||||||
|
end,
|
||||||
hints = { enabled = true },
|
hints = { enabled = true },
|
||||||
provider = 'gemini-pro',
|
provider = 'gemini-pro',
|
||||||
|
-- The system_prompt type supports both a string and a function that returns a string. Using a function here allows dynamically updating the prompt with `mcphub`
|
||||||
|
system_prompt = function()
|
||||||
|
local hub = require('mcphub').get_hub_instance()
|
||||||
|
return hub and hub:get_active_servers_prompt() or ''
|
||||||
|
end,
|
||||||
vendors = {
|
vendors = {
|
||||||
['gemini-pro'] = {
|
['gemini-pro'] = {
|
||||||
__inherited_from = 'gemini',
|
__inherited_from = 'gemini',
|
||||||
|
@ -35,7 +35,7 @@ services:
|
|||||||
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
|
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
|
||||||
|
|
||||||
chroma:
|
chroma:
|
||||||
image: 'ghcr.io/chroma-core/chroma:1.0.9'
|
image: 'ghcr.io/chroma-core/chroma:1.0.10'
|
||||||
init: true
|
init: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
hostname: chroma
|
hostname: chroma
|
||||||
|
Loading…
x
Reference in New Issue
Block a user