Skip to content

Commit 8c3d785

Browse files
authored
Merge pull request #112 from bobrowadam/fix-web-search
Fix web search
2 parents 34a36bd + b004e91 commit 8c3d785

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Fix setting the `web-search` capability in the relevant models
6+
57
## 0.50.1
68

79
- Bump mcp-java-sdk to 0.12.0.

src/eca/models.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{:reason? (get model-config "reasoning")
4949
;; TODO how to check for web-search mode dynamically,
5050
;; maybe fixed after web-search toolcall is implemented
51-
:web-search (contains? models-with-web-search-support (name model))
51+
:web-search (contains? models-with-web-search-support (str provider "/" model))
5252
:tools (get model-config "tool_call")
5353
:max-output-tokens (get-in model-config ["limit" "output"])}
5454
:limit {:context (get-in model-config ["limit" "context"])

0 commit comments

Comments
 (0)