Maurice
f901982903
fix(llm-parse): LLM_MAX_OUTPUT_TOKENS sets the answer cap, a cut-off answer says so
...
The OpenAI-compatible client always asked for 4096 tokens, and a document
whose bookings needed more came back as "no reservations" with nothing that
pointed at the cap. LLM_MAX_OUTPUT_TOKENS now sets the cap for every
provider; unset keeps 4096 and 8192 so a small local model's context still
fits. A finish_reason of "length" is reported like Anthropic's max_tokens
stop, naming the limit and the variable that raises it.
Closes #2677
2026-10-18 13:21:50 +02:00
..
2026-09-28 13:19:04 +02:00
2026-07-18 22:13:52 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-10 12:01:07 +02:00
2026-10-16 23:12:46 +00:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-14 13:24:27 +02:00
2026-10-18 13:21:50 +02:00
2026-08-25 12:36:52 +02:00
2026-10-01 19:40:22 +02:00
2026-10-12 17:06:59 +02:00
2026-10-08 18:43:42 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-09-28 12:19:49 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-12 09:17:08 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-14 13:24:27 +02:00
2026-10-12 17:41:57 +02:00
2026-10-01 19:40:22 +02:00
2026-10-08 18:43:42 +02:00
2026-10-10 21:32:05 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-07 17:11:56 +02:00
2026-10-18 13:21:50 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-08 13:04:43 +02:00
2026-10-08 18:40:37 +02:00
2026-09-20 12:48:44 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-08 00:01:59 +00:00
2026-10-08 18:43:06 +02:00
2026-10-12 17:41:57 +02:00
2026-10-01 19:40:22 +02:00
2026-10-17 01:16:41 +00:00
2026-10-01 19:40:22 +02:00
2026-04-20 10:11:53 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-14 13:24:27 +02:00
2026-10-01 19:40:22 +02:00
2026-10-07 17:11:56 +02:00
2026-10-08 18:38:29 +02:00
2026-10-12 17:06:59 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-08-25 12:36:52 +02:00
2026-10-08 18:43:06 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-04 16:20:16 +02:00
2026-09-25 09:19:11 +02:00
2026-10-08 18:41:02 +02:00
2026-10-08 18:41:02 +02:00
2026-09-20 12:11:41 +02:00
2026-09-25 01:24:55 +00:00
2026-10-12 12:46:12 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-06 19:27:30 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-12 17:41:57 +02:00
2026-10-01 19:40:22 +02:00
2026-10-08 18:44:08 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-10-12 16:39:17 +02:00
2026-10-12 17:41:57 +02:00
2026-10-08 18:43:06 +02:00
2026-10-08 18:43:06 +02:00
2026-10-08 14:11:54 +02:00
2026-10-12 12:46:12 +02:00
2026-10-01 19:40:22 +02:00
2026-10-01 19:40:22 +02:00
2026-09-28 12:19:49 +02:00