From 478a505869bf26b15dcbc77feb2c09c1f2ff4aac Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 6 Feb 2026 11:32:06 +0300 Subject: Enha: client stop string for completion only --- models/models.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'models/models.go') 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 +) -- cgit v1.2.3