Allow sharing configurations between host and containers
This commit is contained in:
parent
06d2a14d09
commit
90c310302d
3 changed files with 5 additions and 0 deletions
|
|
@ -343,6 +343,7 @@
|
|||
:key 'gptel-api-key-from-auth-source
|
||||
)
|
||||
(gptel-make-ollama "Ollama"
|
||||
:host "ollama:11434"
|
||||
:stream t
|
||||
:models (enrich-ollama-models (list-ollama-models) gptel--local-models)
|
||||
)
|
||||
|
|
|
|||
3
.config/environment.d/ollama.conf
Normal file
3
.config/environment.d/ollama.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
HOSTALIASES=~/.config/hosts
|
||||
# keep-sorted end
|
||||
1
.config/hosts
Normal file
1
.config/hosts
Normal file
|
|
@ -0,0 +1 @@
|
|||
ollama localhost
|
||||
Loading…
Add table
Add a link
Reference in a new issue