Commit a01be4d1ea90
Changed files (1)
tools
emacs
tools/emacs/init.el
@@ -2132,7 +2132,7 @@ Add this function to the `after-save-hook'."
:custom
(gptel-default-mode #'markdown-mode)
:config
- (require 'gptel-curl)
+ ;; (require 'gptel-curl)
(require 'gptel-gemini)
(require 'gptel-ollama)
(require 'gptel-transient)
@@ -2187,7 +2187,27 @@ Add this function to the `after-save-hook'."
meta-llama/codellama-34b-instruct
mistralai/mixtral-8x7b-instruct
openai/gpt-3.5-turbo))
+ (gptel-make-ollama "Ollama (with metrics)"
+ :host "192.168.1.23:8000" ; Exporter endpoint for metrics
+ :stream t
+ :models '(;; Tool Calling / OpenCode Support
+ "llama3.1:8b" ; Best for tool calling
+ "mistral-nemo:latest" ; Fast tool calling
+ ;; Coding Models
+ "qwen2.5-coder:7b" ; Best coding performance
+ "codestral:latest" ; Large coding model (22B)
+ "qwen-opencode:latest" ; Custom OpenCode model
+
+ ;; Reasoning Models
+ "deepseek-r1:7b" ; Lightweight reasoning
+ "phi4-reasoning:latest" ; 14B reasoning
+
+ ;; Multimodal
+ "qwen2.5vl:7b" ; Vision support
+
+ ;; Quick Tasks
+ "phi3.5:3.8b"))
;; TODO: configure shikoku/kobe ollama instances here
;; (gptel-make-ollama "Ollama"
;; :host "localhost:11434"