Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix: trigger redeploy
Browse files
src/lib/server/textGeneration/reasoning.ts
CHANGED
|
@@ -11,7 +11,7 @@ export async function generateSummaryOfReasoning(buffer: string): Promise<string
|
|
| 11 |
const messages = [
|
| 12 |
{
|
| 13 |
from: "user" as const,
|
| 14 |
-
content: buffer.slice(-
|
| 15 |
},
|
| 16 |
];
|
| 17 |
|
|
@@ -51,7 +51,7 @@ The text might be incomplete, try your best to summarize it in one very short se
|
|
| 51 |
messages: [
|
| 52 |
{
|
| 53 |
from: "user",
|
| 54 |
-
content: buffer.slice(-
|
| 55 |
},
|
| 56 |
],
|
| 57 |
preprompt: `You are tasked with summarizing the latest reasoning steps. Never describe results of the reasoning, only the process. Remain vague in your summary.
|
|
|
|
| 11 |
const messages = [
|
| 12 |
{
|
| 13 |
from: "user" as const,
|
| 14 |
+
content: buffer.slice(-300),
|
| 15 |
},
|
| 16 |
];
|
| 17 |
|
|
|
|
| 51 |
messages: [
|
| 52 |
{
|
| 53 |
from: "user",
|
| 54 |
+
content: buffer.slice(-300),
|
| 55 |
},
|
| 56 |
],
|
| 57 |
preprompt: `You are tasked with summarizing the latest reasoning steps. Never describe results of the reasoning, only the process. Remain vague in your summary.
|