Open bigcat88 opened 1 week ago
response = client.generate(model=model, prompt=prompt, keep_alive=str(keep_alive) + "m", format=format)
this code can be easy modified:
if keepalive already does not ends with h or s then add m as it currently done.
h
s
m
I can make a PR for that if you wish.
a PR for it will be appreciated
this code can be easy modified:
if keepalive already does not ends with
h
ors
then addm
as it currently done.I can make a PR for that if you wish.