summaryrefslogtreecommitdiff
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/models/models.go b/models/models.go
index eb215a6..67cff0c 100644
--- a/models/models.go
+++ b/models/models.go
@@ -75,9 +75,10 @@ func (m RoleMsg) ToText(i int, cfg *config.Config) string {
}
type ChatBody struct {
- Model string `json:"model"`
- Stream bool `json:"stream"`
- Messages []RoleMsg `json:"messages"`
+ Model string `json:"model"`
+ Stream bool `json:"stream"`
+ Messages []RoleMsg `json:"messages"`
+ DRYMultiplier float32 `json:"frequency_penalty"`
}
type ChatToolsBody struct {