summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-06 11:32:06 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-06 11:32:06 +0300
commit478a505869bf26b15dcbc77feb2c09c1f2ff4aac (patch)
tree8103c459a1db2e202f9ea1acc80c2d982b1b7ff1 /models
parentd0722c6f98aa4755f271aefdd8af1cca28fb6f35 (diff)
Enha: client stop string for completion only
Diffstat (limited to 'models')
-rw-r--r--models/models.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index e99832a..4133a7c 100644
--- a/models/models.go
+++ b/models/models.go
@@ -558,3 +558,10 @@ type ChatRoundReq struct {
Regen bool
Resume bool
}
+
+type APIType int
+
+const (
+ APITypeChat APIType = iota
+ APITypeCompletion
+)