Commit graph

1604 commits

Author SHA1 Message Date
Concedo
768a2ca38c ipv4 and ipv6 total 40 threads for the http server 2026-07-18 18:55:46 +08:00
Tai An
8b85ba1a33
fix(api): don't iterate a string banned_tokens character by character (#2333) (#2336)
* fix(api): don't iterate a string banned_tokens character by character (#2333)

banned_tokens/banned_strings are consumed as a list of substrings. When a
caller supplies a bare string instead, `banned_tokens[:ban_token_max]`
slices it and `for tok in banned_tokens` walks it one character at a time,
so every letter in the value becomes its own banned substring. Banning
common letters like "e" makes generation collapse into garbage, with no
error to point at the cause.

Coerce a string value into a single-element list, matching how the OpenAI
`stop` parameter is already normalized in transform_genparams.

* fix(api): parse a JSON-array string in banned_tokens instead of inerting it

Per review: coercing the string form to a single-element list left the
reported gendefaults case a seemingly-effective no-op. Parse a JSON array
supplied as a string so the reported config bans "exclude" as intended,
and keep the bare-string form ("exclude") working as a single substring ban.

---------

Co-authored-by: Anai-Guo <antai12232931@anaiguo.com>
2026-07-18 10:46:02 +08:00
Tai An
3b6d698616
fix(console): print websearch status on its own line (#2340)
The two websearch status messages in koboldcpp.py print with no leading
newline, so they run onto the end of the preceding generation-stats line
(which has no trailing newline), e.g.:

    ...Total:26.31sReturning cached websearch...

Give both the cached-result print and the new-search print a leading
newline so each starts on its own line, matching the approach already
taken elsewhere (adding the missing newline at the offending print
rather than changing the stats line). Fixes #2337.

Co-authored-by: Anai-Guo <antai12232931@anaiguo.com>
2026-07-18 10:33:49 +08:00
Concedo
362d3a3d7b fixed cli jinjathink 2026-07-17 17:09:45 +08:00
Concedo
04111eeadb jinjathink enables jinja 2026-07-15 00:22:51 +08:00
Wagner Bruna
1f9dd9c398
sd: sync with master-775-b5d8120 (#2321)
* sd: expose extra_sample_args parameter

* sd: sync with master-773-1b04283

* sd: sync with master-775-b5d8120
2026-07-13 20:42:22 +08:00
Concedo
2f7d1bb5c4 fixed nonetype error 2026-07-13 18:04:37 +08:00
Concedo
f2f9d9d2b3 cont: abort bug for images 2026-07-12 22:37:12 +08:00
Concedo
30def702a0 fixed abort bug for images 2026-07-12 21:01:15 +08:00
Concedo
062a2d0bd3 added support for qwen3tts aliases, replaces https://github.com/LostRuins/koboldcpp/pull/2315 2026-07-12 11:49:33 +08:00
Concedo
6fffdb5c62 rowsplit removed 2026-07-12 09:58:39 +08:00
Wagner Bruna
ce3623ad8b
sd: make aborting on client disconnect opt-out (#2322) 2026-07-11 22:21:22 +08:00
Wagner Bruna
c43c27c838
sd: cancel image generation on client disconnect (#2318) 2026-07-11 12:28:04 +08:00
Concedo
cf11aeb27e bump version 2026-07-11 11:37:54 +08:00
Concedo
3f0bab3a3b fixed default gen amt not actually increased (+1 squashed commits)
Squashed commits:

[8e2417d83] fixed default gen amt not actually increased
2026-07-10 15:18:56 +08:00
Concedo
dc8f2b2cd1 updated cmake 2026-07-08 17:26:47 +08:00
Wagner Bruna
e11d3ddef0
sd: sync with master-767-885f01a (#2310)
* sd: minor API path handling cleanup

* sd: sync with master-749-b11c95a

* sd: use original API parameters at the internal C++ API

* sd: split_mode and auto_fit backend support

* sd: sync with master-758-c674225

* sd: sync with master-765-bb84971

* sd: sync with master-767-885f01a
2026-07-08 17:08:19 +08:00
Concedo
adb2e96e3c allow viewing last generated image with the correct genkey 2026-07-06 23:33:33 +08:00
Concedo
6c3f7018a7 increase max defaultgenamount limit 2026-07-06 20:12:11 +08:00
Concedo
56d11ad4e8 Merge branch 'upstream' into concedo_experimental
# Conflicts:
#	docs/backend/OPENCL.md
#	ggml/src/ggml-hexagon/CMakeLists.txt
#	ggml/src/ggml-hexagon/ggml-hexagon.cpp
#	ggml/src/ggml-hexagon/htp/CMakeLists.txt
#	ggml/src/ggml-hexagon/htp/flash-attn-ops.c
#	ggml/src/ggml-hexagon/htp/hex-dma.h
#	ggml/src/ggml-hexagon/htp/hmx-utils.h
#	ggml/src/ggml-hexagon/htp/htp-ops.h
#	ggml/src/ggml-hexagon/htp/hvx-base.h
#	ggml/src/ggml-hexagon/htp/hvx-exp.h
#	ggml/src/ggml-hexagon/htp/hvx-sigmoid.h
#	ggml/src/ggml-hexagon/htp/main.c
#	ggml/src/ggml-hexagon/htp/matmul-ops.c
#	ggml/src/ggml-opencl/CMakeLists.txt
#	ggml/src/ggml-opencl/ggml-opencl.cpp
#	ggml/src/ggml-opencl/kernels/cvt.cl
#	scripts/snapdragon/adb/run-completion.sh
#	scripts/snapdragon/adb/run-tool.sh
#	scripts/snapdragon/ggml-hexagon-profile.py
#	tests/test-backend-ops.cpp
2026-07-02 21:42:36 +08:00
Concedo
44c966a764 ollama show model name to return 2026-07-01 22:31:04 +08:00
Concedo
0bc2936f06 ollama tool calling 2026-07-01 22:19:28 +08:00
Concedo
f76b5a9e31 ollama streaming 2026-07-01 21:37:51 +08:00
Concedo
4790b912c7 ollama embeddings endpoint 2026-07-01 19:42:38 +08:00
Concedo
849ec89bad restructure some compilation units 2026-07-01 18:51:25 +08:00
Concedo
983dec9a54 prevent MTP drafting with batching 2026-07-01 16:17:13 +08:00
Concedo
ca3a77a87b testing max nodes per submit 2026-06-30 22:26:02 +08:00
Concedo
1365d11990 context shifting now works with images, images are now inserted inline instead of as placeholders 2026-06-29 23:40:43 +08:00
Concedo
0677ddd19d fixed output not showing thinking (+1 squashed commits)
Squashed commits:

[cc9f0a026] fixed output not showing thinking
2026-06-29 16:10:08 +08:00
Concedo
0c163a9b4c fixed reasoning when non streaming 2026-06-28 12:35:03 +08:00
Concedo
9c5cdcc256 xet resolution fix 2026-06-27 23:09:16 +08:00
Concedo
e8e13ee8d2 switch back to 16 parallel workers for download on henky request 2026-06-26 23:01:49 +08:00
Concedo
73607e9e01 added xet resolver and downloader 2026-06-26 17:58:43 +08:00
Concedo
e35e415668 deduplicate aria2 2026-06-26 17:35:50 +08:00
Concedo
29d312eda8 add continue and retry wait 2026-06-26 16:27:02 +08:00
Concedo
b46f7450c7 increase sd prompt limit 2026-06-26 00:18:00 +08:00
Concedo
145beb5744 try to use llama.cpp's tool call parser first 2026-06-25 18:11:44 +08:00
Concedo
4a7d6dd8a0 alias for draft 2026-06-23 18:43:28 +08:00
Concedo
08fbef5049 lcpp ui think budget 2026-06-21 22:56:10 +08:00
Concedo
44bcead521 mcp fixes 2026-06-21 22:28:47 +08:00
Concedo
1afe5a730a minor fixes to handler newer lcpp ui 2026-06-21 22:21:10 +08:00
Concedo
9b1e2fa8b8 advanced onready bypass 2026-06-19 21:44:37 +08:00
Concedo
df08e951d0 response format returns actual mp3 filename if requested 2026-06-19 15:18:53 +08:00
Concedo
6f4325ac87 support mp3 from api 2026-06-19 10:26:34 +08:00
Concedo
2bc18617ba move jinja to the quick tab 2026-06-18 23:52:17 +08:00
Concedo
1b36e7f606 option to save tts as mp3, currently slightly bugged 2026-06-18 22:16:29 +08:00
Concedo
635c45e1a0 fix incorrect mtp layers setting (+1 squashed commits)
Squashed commits:

[8dad1a5c0] fix incorrect mtp layers setting
2026-06-18 21:10:28 +08:00
Concedo
eb05dd5fab support audio to video for ltx 2.3 2026-06-17 23:50:08 +08:00
Concedo
05dbd9a195 fix exception on exit 2026-06-16 17:45:56 +08:00
Concedo
71801743c4 added support for cohere north mini 2026-06-16 00:24:30 +08:00