summaryrefslogtreecommitdiff
path: root/models/openrouter.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-24 18:30:46 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-24 18:30:46 +0300
commitadfa6bd78389e01e2b5a6a6d71a718a2c9f10298 (patch)
treef15476a4b43bce83d78b96da92d109ce5f6518de /models/openrouter.go
parent73c048e666a75d3f2c01e89f15f329136f59e2d5 (diff)
Feat: tool model for or
Diffstat (limited to 'models/openrouter.go')
-rw-r--r--models/openrouter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/openrouter.go b/models/openrouter.go
index 933598e..ac37a85 100644
--- a/models/openrouter.go
+++ b/models/openrouter.go
@@ -31,6 +31,7 @@ type OpenRouterChatReq struct {
Temperature float32 `json:"temperature"`
MinP float32 `json:"min_p"`
NPredict int32 `json:"max_tokens"`
+ Tools []Tool `json:"tools"`
}
func NewOpenRouterChatReq(cb ChatBody, props map[string]float32) OpenRouterChatReq {