From ecd4bc2ac38ab723f9b889c802a57eab4155e72e Mon Sep 17 00:00:00 2001 From: jaakko Date: Tue, 14 Apr 2026 06:38:40 +0300 Subject: [PATCH] =?UTF-8?q?Benchmark:=20nosta=20koodigeneroinnin=20token-r?= =?UTF-8?q?aja=204096=20=E2=86=92=208192?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gemma4:e4b tuotti 323 riviƤ ja tokenit loppuivat kesken, pyproject.toml ei mahtunut vastaukseen. --- network-poc/tests/model-benchmark.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-poc/tests/model-benchmark.mjs b/network-poc/tests/model-benchmark.mjs index f8bca0d..c6f6e7b 100644 --- a/network-poc/tests/model-benchmark.mjs +++ b/network-poc/tests/model-benchmark.mjs @@ -283,7 +283,7 @@ async function runPipeline(model, scenario) { // 3. LLM-koodigenerointi console.log(` [3/5] Koodigenerointi (LLM)...`); const codePrompt = `PROJECT REQUIREMENTS:\n${req.text}\n\nJSON SPECIFICATION:\n${JSON.stringify(spec, null, 2)}\n\nGenerate the complete project with all 5 files.`; - const codeResp = await ollamaChat(model, codePrompt, CODE_SYSTEM, 4096); + const codeResp = await ollamaChat(model, codePrompt, CODE_SYSTEM, 8192); timings.push(codeResp); writeFileSync(`${dir}/_code_raw.txt`, codeResp.text); const files = parseGeneratedFiles(codeResp.text);