Feat: tool model for or

This commit is contained in:
Grail Finder
2025-11-24 18:30:46 +03:00
parent 73c048e666
commit adfa6bd783
2 changed files with 4 additions and 10 deletions

View File

@@ -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 {