summaryrefslogtreecommitdiff
path: root/models/openrouter.go
diff options
context:
space:
mode:
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 {