File tree Expand file tree Collapse file tree 4 files changed +3
-14
lines changed
Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 33## Unreleased
44
55- Update copilot models
6+ - Drop uneeded ` ollama useTools ` and ` ollama think ` configs.
67
78## 0.30.0
89
Original file line number Diff line number Diff line change @@ -190,10 +190,6 @@ There are 3 possible ways to configure rules following this order of priority:
190190 models: {[key: string]: {
191191 extraPayload: {[key: string]: any}
192192 }};
193- ollama?: {
194- useTools: boolean;
195- think: boolean;
196- };
197193 chat?: {
198194 welcomeMessage: string;
199195 };
@@ -233,10 +229,6 @@ There are 3 possible ways to configure rules following this order of priority:
233229 "mcpServers" : {},
234230 "customProviders": {},
235231 "models": {},
236- "ollama" : {
237- "useTools": true,
238- "think": true
239- },
240232 "chat" : {
241233 "welcomeMessage" : "Welcome to ECA!\n\nType '/' for commands\n\n"
242234 },
Original file line number Diff line number Diff line change 4747 " anthropic/claude-opus-4-1-20250805" {:extraPayload {:thinking {:type " enabled" :budget_tokens 2048 }}}
4848 " anthropic/claude-opus-4-20250514" {:extraPayload {:thinking {:type " enabled" :budget_tokens 2048 }}}
4949 " anthropic/claude-3-5-haiku-20241022" {:extraPayload {:thinking {:type " enabled" :budget_tokens 2048 }}}}
50- :ollama {:useTools true
51- :think true }
5250 :chat {:welcomeMessage " Welcome to ECA!\n\n Type '/' for commands\n\n " }
5351 :agentFileRelativePath " AGENT.md"
5452 :customProviders {}
Original file line number Diff line number Diff line change 6666 (fn [{:keys [model] :as ollama-model}]
6767 (let [capabilities (llm-providers.ollama/model-capabilities {:api-url ollama-api-url :model model})]
6868 (assoc ollama-model
69- :tools (and (get-in config [:ollama :useTools ] true )
70- (boolean (some #(= % " tools" ) capabilities)))
71- :reason? (and (get-in config [:ollama :think ] true )
72- (boolean (some #(= % " thinking" ) capabilities))))))
69+ :tools (boolean (some #(= % " tools" ) capabilities))
70+ :reason? (boolean (some #(= % " thinking" ) capabilities)))))
7371 (llm-providers.ollama/list-models {:api-url ollama-api-url}))))
7472
7573(defn default-model
You can’t perform that action at this time.
0 commit comments