diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-11-24 18:30:46 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-11-24 18:30:46 +0300 |
| commit | adfa6bd78389e01e2b5a6a6d71a718a2c9f10298 (patch) | |
| tree | f15476a4b43bce83d78b96da92d109ce5f6518de /models | |
| parent | 73c048e666a75d3f2c01e89f15f329136f59e2d5 (diff) | |
Feat: tool model for or
Diffstat (limited to 'models')
| -rw-r--r-- | models/openrouter.go | 1 |
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 { |
